]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 375246: Installation is broken by "can't coerce array into hash"
authormkanat%bugzilla.org <>
Sun, 25 Mar 2007 09:44:58 +0000 (09:44 +0000)
committermkanat%bugzilla.org <>
Sun, 25 Mar 2007 09:44:58 +0000 (09:44 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat

Bugzilla/Install/Requirements.pm

index 07729554cc7387487466da117957b13b8ed7f813..c184847de9b4eaff60d10cfaf795e43fe82e0d05 100644 (file)
@@ -309,7 +309,7 @@ sub print_module_instructions {
     my ($check_results, $output) = @_;
 
     # We only print these notes if we have to.
-    if ((!$output && %{$check_results->{missing}})
+    if ((!$output && @{$check_results->{missing}})
         || ($output && $check_results->{any_missing}))
     {
         print "\n* NOTE: You must run any commands listed below as "