mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-16 00:18:40 +00:00
attempty to fix empty mapper requests
This commit is contained in:
parent
e08f689afc
commit
84cf2e96ce
|
|
@ -257,7 +257,7 @@ final class ReadMapper extends DataMapperAbstract
|
|||
{
|
||||
$result = $this->executeGet($query);
|
||||
|
||||
if (\is_object($result) && \stripos(\get_class($result), '\Null') !== false) {
|
||||
if (\is_object($result) && \stripos(\get_class($result), 'Null') < 2) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user