summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Requirements.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-03-25 11:44:58 +0200
committermkanat%bugzilla.org <>2007-03-25 11:44:58 +0200
commitb4151b52d4f0947dcfbeafa00630e8ab6725f58d (patch)
treec0deca719c181d782cd69a5f973757ed458b05b2 /Bugzilla/Install/Requirements.pm
parent841ede34d69569f223788512ff77d58dd22e5455 (diff)
downloadbugzilla-b4151b52d4f0947dcfbeafa00630e8ab6725f58d.tar.gz
bugzilla-b4151b52d4f0947dcfbeafa00630e8ab6725f58d.tar.xz
Bug 375246: Installation is broken by "can't coerce array into hash"
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
Diffstat (limited to 'Bugzilla/Install/Requirements.pm')
-rw-r--r--Bugzilla/Install/Requirements.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index 07729554c..c184847de 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 "