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