Sfoglia il codice sorgente

Ticket #62 - Core changes and fixes.

AntonLV 10 anni fa
parent
commit
bee064533c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      inc/classes/BxDolPrivacy.php

+ 1 - 1
inc/classes/BxDolPrivacy.php

@@ -215,7 +215,7 @@ class BxDolPrivacy extends BxDol implements iBxDolFactoryObject
             if($iProfileIdLogged == $iProfileIdOwner)
                 return array();
 
-            if ($iProfileIdOwner && $this->checkConnections($iProfileIdOwner, bx_get_logged_profile_id()))
+            if ($iProfileIdOwner && $this->checkFriends($iProfileIdOwner, bx_get_logged_profile_id()))
                 $mixedPrivacyGroups = array(BX_DOL_PG_ALL, BX_DOL_PG_MEMBERS, BX_DOL_PG_FRIENDS);
             else
                 $mixedPrivacyGroups = array(BX_DOL_PG_ALL, BX_DOL_PG_MEMBERS);