Explorar o código

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

RomanL %!s(int64=6) %!d(string=hai) anos
pai
achega
2b96d10cf8

+ 1 - 1
modules/boonex/lucid/data/template/bx_channels/css/main.css

@@ -1,4 +1,4 @@
-@import url(../../../../../spaces/template/css/main.css);
+@import url(../../../../../channels/template/css/main.css);
 
 
 /*--- Unit ---*/

+ 5 - 1
modules/boonex/timeline/classes/BxTimelinePrivacy.php

@@ -41,7 +41,11 @@ class BxTimelinePrivacy extends BxBaseModNotificationsPrivacy
                 continue;
 
             $sCnnProfileModule = $oCnnProfile->getModule();
-            $mixedCheckResult = bx_srv($sCnnProfileModule, 'check_allowed_post_in_profile', array($oCnnProfile->getContentId(), $iOwnerId));
+            $sCnnProfileMethod = 'check_allowed_post_in_profile';
+            if(!BxDolRequest::serviceExists($sCnnProfileModule, $sCnnProfileMethod))
+                continue;
+
+            $mixedCheckResult = bx_srv($sCnnProfileModule, $sCnnProfileMethod, array($oCnnProfile->getContentId(), $iOwnerId));
             if($mixedCheckResult !== CHECK_ACTION_RESULT_ALLOWED)
                 continue;