From: bbaetz%acm.org <> Date: Thu, 23 Jan 2003 15:11:42 +0000 (+0000) Subject: Bug 189446 - Can't change product of a bug X-Git-Tag: bugzilla-2.17.4~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c10f5e22342aa4db674fdad4b0dd68403ce05d2;p=thirdparty%2Fbugzilla.git Bug 189446 - Can't change product of a bug r, a=justdave --- diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index 4b5d31c149..c4c861cb9b 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -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 {