Changeset 9358


Ignore:
Timestamp:
Feb 23, 2011, 10:27:57 AM (9 years ago)
Author:
plg
Message:

feature 2200: bug fixed when there is no ?page= in URL (on admin homepage)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r9357 r9358  
    8181// ?page=plugin-community-pendings is an clean alias of
    8282// ?page=plugin&section=community/admin.php&tab=pendings
    83 if (preg_match('/^plugin-([^-]*)(?:-(.*))?$/', $_GET['page'], $matches))
     83if (isset($_GET['page']) and preg_match('/^plugin-([^-]*)(?:-(.*))?$/', $_GET['page'], $matches))
    8484{
    8585  $_GET['page'] = 'plugin';
Note: See TracChangeset for help on using the changeset viewer.