AntonLV 8 лет назад
Родитель
Сommit
1dab663cff
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      modules/boonex/events/classes/BxEventsModule.php

+ 2 - 2
modules/boonex/events/classes/BxEventsModule.php

@@ -144,8 +144,8 @@ class BxEventsModule extends BxBaseModGroupsModule
         if($a === false)
             return false;
 
-        $aContentInfo = $this->_oDb->getContentInfoById($aEvent['object_id'];
-        if(empty($aContentInfo) || !is_array($aContentInfo)))
+        $aContentInfo = $this->_oDb->getContentInfoById($aEvent['object_id']);
+        if(empty($aContentInfo) || !is_array($aContentInfo))
             return $a;
 
         $CNF = $this->_oConfig->CNF;