1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-03 12:47:33 +02:00

__toString() returns always string

This commit is contained in:
David Grudl
2017-07-22 00:34:44 +02:00
parent 60978bb176
commit e755a59063
2 changed files with 2 additions and 0 deletions

View File

@@ -245,6 +245,7 @@ FROM %SQL', $this->sql, '
);
} catch (\Throwable $e) {
trigger_error($e->getMessage(), E_USER_ERROR);
return '';
}
}

View File

@@ -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 '';
}
}