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