1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Fix for prefs issue.

This commit is contained in:
Cameron
2013-03-13 00:08:23 -07:00
parent 064528e754
commit 4ece98ef90
2 changed files with 11 additions and 11 deletions

View File

@@ -223,13 +223,10 @@ function update_check()
//--------------------------------------------
function update_core_prefs($type='')
{
$pref = e107::getPref();
global $e107info;
global $pref, $e107info; // $pref must be kept as global
$admin_log = e107::getAdminLog();
$do_save = FALSE;
$should = get_default_prefs();
$just_check = $type == 'do' ? FALSE : TRUE; // TRUE if we're just seeing if an update is needed