Refixed
release-0.6
svncommit 18 years ago
parent f388a8d37a
commit 8451fa4eb6

@ -360,12 +360,14 @@ class rcube_db
*/
function _fetch_row($result, $mode)
{
if (!$result || !is_object($result) || DB::isError($result))
if (!$result || DB::isError($result))
{
raise_error(array('code' => 500, 'type' => 'db', 'line' => __LINE__, 'file' => __FILE__,
'message' => $this->db_link->getMessage()), TRUE, FALSE);
return FALSE;
}
elseif (!is_object($result))
return FALSE;
return $result->fetchRow($mode);
}

Loading…
Cancel
Save