diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc index 7876b47774..44757d6713 100644 --- a/etc/inc/pkg-utils.inc +++ b/etc/inc/pkg-utils.inc @@ -808,7 +808,8 @@ function delete_package($pkg) { update_output_window($static_output); return; } else { - $static_output .= "\tStarting package deletion for {$pkg}..."; + if($pkg) + $static_output .= "\tStarting package deletion for {$pkg}..."; update_output_window($static_output); } $info = ""; @@ -1082,4 +1083,4 @@ function squash_from_bytes($size, $round = "") { return; } -?> +?> \ No newline at end of file