Dotclear

Changeset 2141:72ebaa27c619


Ignore:
Timestamp:
09/29/13 02:03:49 (11 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
default
Message:

Fix notice on plugin 'pages' on wrong URL call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/_admin.php

    r2060 r2141  
    4949 
    5050$_menu['Blog']->addItem(__('Pages'),'plugin.php?p=pages','index.php?pf=pages/icon.png', 
    51           preg_match('/plugin.php(.*)$/',$_SERVER['REQUEST_URI']) && $_REQUEST['p']=='pages', 
     51          preg_match('/plugin.php(.*)$/',$_SERVER['REQUEST_URI']) && !empty($_REQUEST['p']) && $_REQUEST['p']=='pages', 
    5252          $core->auth->check('contentadmin,pages',$core->blog->id)); 
    5353 
Note: See TracChangeset for help on using the changeset viewer.

Sites map