Added
Link Here
|
1 |
--- ./Bugzilla/Install/Requirements.pm.orig 2011-08-05 04:25:35.000000000 +0200 |
2 |
+++ ./Bugzilla/Install/Requirements.pm 2011-08-16 08:55:28.000000000 +0200 |
3 |
@@ -698,8 +698,9 @@ |
4 |
# show "ok" or "not found". |
5 |
if (exists $params->{found}) { |
6 |
my $found_string; |
7 |
- # We do a string compare in case it's non-numeric. |
8 |
- if ($found and $found eq "-1") { |
9 |
+ # We do a string compare in case it's non-numeric. We make sure |
10 |
+ # it's not a version object as negative versions are forbidden. |
11 |
+ if ($found && !ref($found) && $found eq '-1') { |
12 |
$found_string = install_string('module_not_found'); |
13 |
} |
14 |
elsif ($found) { |