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