Changeset 72385 in spip-zone for _plugins_/acces_restreint


Ignore:
Timestamp:
Apr 27, 2013, 11:37:01 AM (8 years ago)
Author:
marcimat@…
Message:

Notice PHP en moins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/acces_restreint/trunk/inc/accesrestreint_autoriser.php

    r71950 r72385  
    7878
    7979        include_spip('public/quete');
    80         if (!$id_rubrique = $opt['id_rubrique']){
     80        if (!isset($opt['id_rubrique']) OR !$id_rubrique = $opt['id_rubrique']){
    8181                $article = quete_parent_lang('spip_articles',$id);
    8282                $id_rubrique = $article['id_rubrique'];
Note: See TracChangeset for help on using the changeset viewer.