Ignore:
Timestamp:
Sep 10, 2012, 3:07:32 PM (12 years ago)
Author:
plg
Message:

bug fixed: avoid warning on administration homepage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AddUsersNotes/initadmin.php

    r17648 r17842  
    1515        $template->set_filename('profile_aun', realpath(USERNOTES_PATH.'profile_addusersnotes.tpl'));
    1616
    17         if ('configuration' == $_GET['page'] and 'default' == $_GET['section'])
     17        if (isset($_GET['page']) and 'configuration' == $_GET['page'])
    1818        {
    19           $_GET['user_id'] = $conf['guest_id'];
     19          if (isset($_GET['section']) and 'default' == $_GET['section'])
     20          {
     21            $_GET['user_id'] = $conf['guest_id'];
     22          }
    2023        }
    2124
    22  if (isset($_GET['user_id']))
     25        if (isset($_GET['user_id']))
    2326        {
    2427        $query = '
Note: See TracChangeset for help on using the changeset viewer.