diff --git a/admin/class-system-dashboard-admin.php b/admin/class-system-dashboard-admin.php index dbd7f02..0d47d4e 100644 --- a/admin/class-system-dashboard-admin.php +++ b/admin/class-system-dashboard-admin.php @@ -1325,7 +1325,7 @@ public function is_exec_enabled() { * @since 1.0.0 */ public function sd_format_filesize($bytes) { - if ( is_numeric( $kiloBytes ) ) { + if ( is_numeric( $bytes ) ) { if (($bytes / pow(1024, 5)) > 1) { return number_format_i18n(($bytes / pow(1024, 5)), 0) . ' PB'; } elseif (($bytes / pow(1024, 4)) > 1) { @@ -1785,7 +1785,7 @@ public function sd_ram_buffer() { } - if ( ! is_null( $total_ram ) ) { + if ( ! is_null( $ram_buffer ) ) { return trim($ram_buffer);