AntonLV vor 5 Jahren
Ursprung
Commit
da1f07e020
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      modules/boonex/timeline/classes/BxTimelineModule.php

+ 2 - 0
modules/boonex/timeline/classes/BxTimelineModule.php

@@ -4002,6 +4002,8 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
 
         $this->_iOwnerId = $aParams['owner_id'];
         $oProfileOwner = BxDolProfile::getInstance($this->_iOwnerId);
+        if(!$oProfileOwner)
+            return array();
 
         $mixedResult = $oProfileOwner->checkAllowedProfileView();
         if($mixedResult !== CHECK_ACTION_RESULT_ALLOWED)