Explorar o código

Atualizar 'src/BBOrm/Entity.php'

ahwelp %!s(int64=6) %!d(string=hai) anos
pai
achega
a3a38c7332
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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];
     }