Merge pull request #962 from tobiasd/fix961

save selection to suppress language results (fix 961)
This commit is contained in:
tobiasd 2014-05-05 13:46:03 +02:00
commit 4dbfae7883

View file

@ -403,6 +403,7 @@ function admin_page_site_post(&$a){
set_config('system','poll_interval',$poll_interval);
set_config('system','maxloadavg',$maxloadavg);
set_config('config','sitename',$sitename);
set_config('system','suppress_language',$suppress_language);
if ($banner==""){
// don't know why, but del_config doesn't work...
q("DELETE FROM `config` WHERE `cat` = '%s' AND `k` = '%s' LIMIT 1",