]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 189446 - Can't change product of a bug
authorbbaetz%acm.org <>
Thu, 23 Jan 2003 15:11:42 +0000 (15:11 +0000)
committerbbaetz%acm.org <>
Thu, 23 Jan 2003 15:11:42 +0000 (15:11 +0000)
r, a=justdave

Bugzilla/DB.pm

index 4b5d31c149cee19493515b4efd44ea59ce332f2c..c4c861cb9ba87659e3adcccbfd59e03040edeeec 100644 (file)
@@ -97,7 +97,14 @@ sub FetchSQLData {
         undef $_fetchahead;
         return @result;
     }
-    return $_current_sth->fetchrow_array;
+
+    # This is really really ugly, but its what we get for not doing
+    # error checking for 5 years. See bug 189446.
+    my @ret;
+    eval {
+        @ret = $_current_sth->fetchrow_array;
+    };
+    return @ret;
 }
 
 sub FetchOneColumn {