1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-16 23:00:51 +03:00

Добавлена связь в media target #416

This commit is contained in:
Mzhelskiy Maxim 2014-02-28 21:26:08 +07:00
parent 4fcbff39a2
commit eaed2364bc

View file

@ -26,7 +26,7 @@ class ModuleMedia_EntityTarget extends EntityORM {
);
protected $aRelations=array(
'media' => array(self::RELATION_TYPE_BELONGS_TO,'ModuleMedia_EntityMedia','media_id'),
);
protected function beforeSave() {