Dotclear


Ignore:
Timestamp:
09/13/13 21:58:29 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Fix issue for jquery_migrate_mute on auth page ($core->blog is not yet set), addresses #1636

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r1836 r1841  
    482482     { 
    483483          $mute_or_no = ''; 
    484           if (!empty($GLOBALS['core']->blog->settings->system->jquery_migrate_mute) // for initial setting 
    485                || $GLOBALS['core']->blog->settings->system->jquery_migrate_mute) { 
     484          if (empty($GLOBALS['core']->blog) || $GLOBALS['core']->blog->settings->system->jquery_migrate_mute) { 
    486485               $mute_or_no .= 
    487486                    '<script type="text/javascript">'."\n". 
Note: See TracChangeset for help on using the changeset viewer.

Sites map