]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix for bug #44622: perl5.6 vs perl5.005 -w: more anal 5.6 causes errors.
authorcyeh%bluemartini.com <>
Tue, 22 Aug 2000 02:50:41 +0000 (02:50 +0000)
committercyeh%bluemartini.com <>
Tue, 22 Aug 2000 02:50:41 +0000 (02:50 +0000)
patches by mtakacs@pacbell.net.

CGI.pl
processmail

diff --git a/CGI.pl b/CGI.pl
index 085b31cf30c4c8e8eb1e431cf9688435e0f38ccf..9c7484b93e444454a2aaed95bfe3a158c8171f19 100644 (file)
--- a/CGI.pl
+++ b/CGI.pl
@@ -118,7 +118,7 @@ sub ParseUrlString {
             $isnull{$name} = 1;
         }
     }
-    if (defined %isnull) {
+    if (%isnull) {
         foreach my $name (keys(%isnull)) {
             if (!defined $f->{$name}) {
                 $f->{$name} = "";
index 5431fda11a36b54591bac8148d644c10c4731816..9019287febd63aeca00877a5a884f60a093c711e 100755 (executable)
@@ -471,9 +471,9 @@ sub NewProcessOneBug {
     for my $person (@personlist) {
         $count++;
 
-        NewProcessOnePerson($person, $count, \@headerlist, \%values,
-                            \%defmailhead, \%fielddescription, $difftext, 
-                            $newcomments, $start, $id, 1);
+        &NewProcessOnePerson($person, $count, \@headerlist, \%values,
+                             \%defmailhead, \%fielddescription, $difftext, 
+                             $newcomments, $start, $id, 1);
     }
 
     SendSQL("UPDATE bugs SET lastdiffed = '$end', delta_ts = delta_ts " .
@@ -510,7 +510,7 @@ sub NewProcessOnePerson ($$\@\%\%\%$$$$) {
 
       foreach my $watcher ( $watcherSet->toArray() ) {
         
-        NewProcessOnePerson(DBID_to_name($watcher), 
+        &NewProcessOnePerson(DBID_to_name($watcher), 
                             $count, \@headerlist, \%values,
                             \%defmailhead, \%fielddescription, $difftext, 
                             $newcomments, $start, $id, 0);