Atualizar 'src/BBOrm/Entity.php'

This commit is contained in:
ahwelp
2019-01-04 07:23:58 +00:00
parent a439269942
commit 463f7d8296
+1 -1
View File
@@ -190,7 +190,7 @@ abstract class Entity {
if (empty($objects)) { if (empty($objects)) {
return new $this->classname; return new $this->classname;
} }
return $objects; return $objects[0];
} }
public function find_many($criterias = Array(), $select = Array('*'), $limits = Array(), $trashed = false) { public function find_many($criterias = Array(), $select = Array('*'), $limits = Array(), $trashed = false) {