diff options
author | bbaetz%acm.org <> | 2003-01-23 16:11:42 +0100 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-01-23 16:11:42 +0100 |
commit | 2c10f5e22342aa4db674fdad4b0dd68403ce05d2 (patch) | |
tree | 0dd2cbe877d9b54375e2dae923c52e7a6c50daf7 /Bugzilla | |
parent | 43fe2ebf19228c256ad630af3590632df62eb860 (diff) | |
download | bugzilla-2c10f5e22342aa4db674fdad4b0dd68403ce05d2.tar.gz bugzilla-2c10f5e22342aa4db674fdad4b0dd68403ce05d2.tar.xz |
Bug 189446 - Can't change product of a bug
r, a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/DB.pm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index 4b5d31c14..c4c861cb9 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 { |