summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-05-13 10:23:21 +0100
committerGreg Roach <fisharebest@gmail.com>2014-05-13 10:23:21 +0100
commit3e8483eab4bc1f5b679220c3ccbb5b102e738092 (patch)
tree6cf58b73f97732cec333008c8460b633917ceee1
parent82e51014c39454e2f116a536bba988ff39fca04c (diff)
parent86c235825a4f6ff4a09732e3c8704f6fbb722ad7 (diff)
downloadwebtrees-3e8483eab4bc1f5b679220c3ccbb5b102e738092.tar.gz
webtrees-3e8483eab4bc1f5b679220c3ccbb5b102e738092.tar.bz2
webtrees-3e8483eab4bc1f5b679220c3ccbb5b102e738092.zip
Merge pull request #147 from ddrury/indilist.php_bug_fix
Call \WT\Auth::user()->setSetting with wrong number of parameters
-rw-r--r--indilist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/indilist.php b/indilist.php
index 4bdbfadf9a..bee273ddf1 100644
--- a/indilist.php
+++ b/indilist.php
@@ -47,13 +47,13 @@ switch (WT_Filter::get('show_marnm', 'no|yes')) {
case 'no':
$show_marnm = false;
if (\WT\Auth::id()) {
- \WT\Auth::user()->setSetting(WT_USER_ID, WT_SCRIPT_NAME.'_show_marnm', $show_marnm);
+ \WT\Auth::user()->setSetting(WT_SCRIPT_NAME.'_show_marnm', $show_marnm);
}
break;
case 'yes':
$show_marnm = true;
if (\WT\Auth::id()) {
- \WT\Auth::user()->setSetting(WT_USER_ID, WT_SCRIPT_NAME.'_show_marnm', $show_marnm);
+ \WT\Auth::user()->setSetting(WT_SCRIPT_NAME.'_show_marnm', $show_marnm);
}
break;
default: