Atualizar 'src/BBOrm/Entity.php'
This commit is contained in:
@@ -218,7 +218,7 @@ abstract class Entity {
|
|||||||
$objects[] = $object;
|
$objects[] = $object;
|
||||||
}
|
}
|
||||||
if (empty($objects)) {
|
if (empty($objects)) {
|
||||||
return new $this->classname;
|
return false; //new $this->classname;
|
||||||
}
|
}
|
||||||
return $objects[0];
|
return $objects[0];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user