RomanL пре 6 година
родитељ
комит
80e5ad1386
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      inc/classes/BxDolPrivacy.php

+ 1 - 1
inc/classes/BxDolPrivacy.php

@@ -339,7 +339,7 @@ class BxDolPrivacy extends BxDolFactory implements iBxDolFactoryObject
     public function addAclGroups($aValues, $iOwnerId, $aParams)
     {
 		$aCheck = checkActionModule($iOwnerId, 'show membership levels in privacy groups', 'system', false);
-		if($aCheck[CHECK_ACTION_RESULT] != CHECK_ACTION_RESULT_ALLOWED)
+		if($aCheck[CHECK_ACTION_RESULT] !== CHECK_ACTION_RESULT_ALLOWED)
 			return $aValues;
         
 		$aLevels = BxDolAcl::getInstance()->getMemberships(false, true, true, true);