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