Parcourir la source

Atualizar 'src/BBOrm/Entity.php'

ahwelp il y a 6 ans
Parent
commit
a3a38c7332
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/BBOrm/Entity.php

+ 1 - 1
src/BBOrm/Entity.php

@@ -218,7 +218,7 @@ abstract class Entity {
             $objects[] = $object;
         }
         if (empty($objects)) {
-            return new $this->classname;
+            return false; //new $this->classname;
         }
         return $objects[0];
     }