Atualizar 'src/BBOrm/Entity.php'
This commit is contained in:
@@ -190,7 +190,7 @@ abstract class Entity {
|
||||
if (empty($objects)) {
|
||||
return new $this->classname;
|
||||
}
|
||||
return $objects;
|
||||
return $objects[0];
|
||||
}
|
||||
|
||||
public function find_many($criterias = Array(), $select = Array('*'), $limits = Array(), $trashed = false) {
|
||||
|
||||
Reference in New Issue
Block a user