Просмотр исходного кода

Merge branch 'master' of https://github.com/unaio/una

RomanL 6 лет назад
Родитель
Сommit
5043bbf684
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      modules/boonex/timeline/classes/BxTimelineModule.php

+ 1 - 1
modules/boonex/timeline/classes/BxTimelineModule.php

@@ -3351,7 +3351,7 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
     {
         $CNF = &$this->_oConfig->CNF;
 
-        if($aEvent[$CNF['FIELD_OWNER_ID']] != $this->_iProfileId)
+        if(!empty($aEvent[$CNF['FIELD_OWNER_ID']]) && $aEvent[$CNF['FIELD_OWNER_ID']] != $this->_iProfileId)
             return false;
 
         $iAuthor = (int)$aEvent[$CNF['FIELD_OWNER_ID']];