Changeset 84561 in spip-zone


Ignore:
Timestamp:
Sep 10, 2014, 11:00:28 PM (6 years ago)
Author:
marcimat@…
Message:

Notice PHP en moins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/acces_restreint/trunk/urls/generer_url_document.php

    r67731 r84561  
    5353
    5454        // renvoyer une url plus ou moins jolie
    55         if ($GLOBALS['meta']['creer_htaccess'])
     55        if (isset($GLOBALS['meta']['creer_htaccess']) and $GLOBALS['meta']['creer_htaccess']) {
    5656                return _DIR_RACINE."docrestreint.api/$id/$cle/$f";
    57         else
     57        } else {
    5858                return get_spip_doc($f)."?$id/$cle";
     59        }
    5960}
Note: See TracChangeset for help on using the changeset viewer.