Ignore:
Timestamp:
01/18/14 22:35:44 (6 years ago)
Author:
ddtddt
Message:

Checked compatibility with Piwigo 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/nbc_ThemeChanger/admin/nbc_ThemeChanger_admin.php

    r21654 r26871  
    5151   
    5252// Mise a jour des paramètres du plugin 
    53 if (isset($_POST['submit']) and !is_adviser()) 
     53if (isset($_POST['submit'])) 
    5454        if ( isset($_POST['categorychoise']) and isset($_POST['template'])) 
    5555        {        
     
    143143 
    144144//delete an association 
    145 if ( isset($_GET['tab']) and ($_GET['tab']=='del_assoc') and isset($_GET['cat']) and is_numeric($_GET['cat']) and !is_adviser() ) 
     145if ( isset($_GET['tab']) and ($_GET['tab']=='del_assoc') and isset($_GET['cat']) and is_numeric($_GET['cat'])) 
    146146{ 
    147147 
     
    232232  } 
    233233} 
    234 $template->assign('assoc',$assoc ); 
     234$template->assign('assoc2',$assoc ); 
    235235 
    236236 
Note: See TracChangeset for help on using the changeset viewer.