mirror of
https://github.com/dg/dibi.git
synced 2025-08-07 14:46:50 +02:00
__toString() returns always string
This commit is contained in:
@@ -267,6 +267,7 @@ FROM %SQL', $this->sql, '
|
|||||||
);
|
);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
trigger_error($e->getMessage(), E_USER_ERROR);
|
trigger_error($e->getMessage(), E_USER_ERROR);
|
||||||
|
return '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -449,6 +449,7 @@ class Fluent implements IDataSource
|
|||||||
return $this->connection->translate($this->_export());
|
return $this->connection->translate($this->_export());
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
trigger_error($e->getMessage(), E_USER_ERROR);
|
trigger_error($e->getMessage(), E_USER_ERROR);
|
||||||
|
return '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user