Do not output blank pkg names

This commit is contained in:
Scott Ullrich 2010-11-30 23:25:19 -05:00
parent d32698d3b2
commit 75e22cbccb

View File

@ -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;
}
?>
?>