From: mkanat%bugzilla.org <> Date: Sun, 25 Mar 2007 09:44:58 +0000 (+0000) Subject: Bug 375246: Installation is broken by "can't coerce array into hash" X-Git-Tag: bugzilla-3.1.2~263 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4151b52d4f0947dcfbeafa00630e8ab6725f58d;p=thirdparty%2Fbugzilla.git Bug 375246: Installation is broken by "can't coerce array into hash" Patch By Max Kanat-Alexander (module owner) a=mkanat --- diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index 07729554cc..c184847de9 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -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 "