Changeset 17648


Ignore:
Timestamp:
Aug 27, 2012, 3:08:45 PM (12 years ago)
Author:
plg
Message:

bug fixed: [Administration > Configuration > Options > Guest User] screen was not loading/saving user note

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AddUsersNotes/initadmin.php

    r12447 r17648  
    1111        load_language('lang', PHPWG_ROOT_PATH.'local/', array('no_fallback'=>true, 'local'=>true) );
    1212 
    13                 global $template, $prefixeTable;
     13        global $template, $prefixeTable, $conf;
    1414        $template->set_prefilter('profile_content', 'aun2');
    1515        $template->set_filename('profile_aun', realpath(USERNOTES_PATH.'profile_addusersnotes.tpl'));
    16        
     16
     17        if ('configuration' == $_GET['page'] and 'default' == $_GET['section'])
     18        {
     19          $_GET['user_id'] = $conf['guest_id'];
     20        }
     21
    1722 if (isset($_GET['user_id']))
    1823        {
Note: See TracChangeset for help on using the changeset viewer.