forgot some logger calls m)
parent
a0e00885a7
commit
e53138a737
BIN
forumlist.tgz
BIN
forumlist.tgz
Binary file not shown.
|
@ -124,14 +124,8 @@ function forumlist_profile_advanced($a,&$b) {
|
||||||
|
|
||||||
|
|
||||||
function forumlist_plugin_settings_post($a,$post) {
|
function forumlist_plugin_settings_post($a,$post) {
|
||||||
|
|
||||||
logger('forum list save 1');
|
|
||||||
|
|
||||||
if(! local_user() || (! x($_POST,'forumlist-settings-submit')))
|
if(! local_user() || (! x($_POST,'forumlist-settings-submit')))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
logger('forum list save 2');
|
|
||||||
|
|
||||||
// set_pconfig(local_user(),'forumlist','max_forumlists',intval($_POST['forumlist_max_forumlists']));
|
// set_pconfig(local_user(),'forumlist','max_forumlists',intval($_POST['forumlist_max_forumlists']));
|
||||||
set_pconfig(local_user(),'forumlist','randomise',intval($_POST['forumlist_random']));
|
set_pconfig(local_user(),'forumlist','randomise',intval($_POST['forumlist_random']));
|
||||||
set_pconfig(local_user(),'forumlist','show_on_profile',intval($_POST['forumlist_profile']));
|
set_pconfig(local_user(),'forumlist','show_on_profile',intval($_POST['forumlist_profile']));
|
||||||
|
|
Loading…
Reference in New Issue