RomanL il y a 6 ans
Parent
commit
ec49507315
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      modules/base/general/classes/BxBaseModGeneralModule.php

+ 1 - 1
modules/base/general/classes/BxBaseModGeneralModule.php

@@ -597,7 +597,7 @@ class BxBaseModGeneralModule extends BxDolModule
          $aList = $oFavorite->getQueryObject()->getList(array('type' => 'id', 'list_id' => $iListId));
          
          $sRv = '';
-         if ($oFavorite->isAllowedEditList($aList['author_id']) && !empty($aList)){  
+         if (!empty($aList) && $oFavorite->isAllowedEditList($aList['author_id'])){  
              $aMarkers = array(
                  'js_object' => $oFavorite->getJsObjectName(),
                  'list_id' => $iListId,