1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 05:55:02 +03:00
This commit is contained in:
Mzhelskiy Maxim 2011-01-28 10:10:55 +00:00
parent 4b11d8d9d1
commit f703c0ebc8

View file

@ -239,7 +239,7 @@ abstract class ModuleORM extends Module {
/**
* Если необходимо подцепить связанные данные
*/
if (isset($aFilter['#with'])) {
if (count($aEntities) and isset($aFilter['#with'])) {
if (!is_array($aFilter['#with'])) {
$aFilter['#with']=array($aFilter['#with']);
}