]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 136754 - warning in editproduct.cgi if usebuggroups option is on. Patch by justda...
authorgerv%gerv.net <>
Thu, 18 Apr 2002 04:12:43 +0000 (04:12 +0000)
committergerv%gerv.net <>
Thu, 18 Apr 2002 04:12:43 +0000 (04:12 +0000)
editproducts.cgi

index c11c65db712fa1589590bab1956e48e66b7c4b87..5db498ca105898243436ca9df7180ef56fd03cfb 100755 (executable)
@@ -692,7 +692,7 @@ if ($action eq 'edit') {
         SendSQL("SELECT userregexp
                  FROM groups
                  WHERE name=" . SqlQuote($product));
-        $userregexp = FetchOneColumn();
+        $userregexp = FetchOneColumn() || "";
     }
 
     print "<FORM METHOD=POST ACTION=editproducts.cgi>\n";