1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

Download search added and updated to v2 spec.

This commit is contained in:
Cameron
2014-01-21 05:16:05 -08:00
parent dd57ec8db8
commit edb2ec9249
2 changed files with 122 additions and 1 deletions

View File

@@ -79,7 +79,7 @@ if (vartrue($save_search))
// $serialpref = addslashes(serialize($search_prefs));
// $serialpref = e107::getArrayStorage()->writeArray($search_prefs, true);
// $sql -> db_Update("core", "e107_value='".$serialpref."' WHERE e107_name='search_prefs'");
e107::getConfig('search')->setPref($search_prefs)->save(false,true);
e107::getConfig('search')->setPref($search_prefs)->save(false,true,false);
$admin_log->log_event('SEARCH_03','',E_LOG_INFORMATIVE,'');
}