From 7dd946a78b4c13f72cc29c877685b6d5ae708a0c Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 5 Sep 2008 01:47:09 +0000 Subject: [PATCH] Make showMessageOnLogin sticky for the right setting. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Operation/Settings.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 1087e5739..586d7d4e9 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -22,6 +22,7 @@ - rfe: view profile - fixed: Show Message On Login continue link - fixed: Show Message On Login doesn't show after anon registration + - fixed: Settings - Show Message On Login behaviour 7.5.22 - fixed: Layout template now gets prepared correctly diff --git a/lib/WebGUI/Operation/Settings.pm b/lib/WebGUI/Operation/Settings.pm index 68cd1496d..370a1c84f 100644 --- a/lib/WebGUI/Operation/Settings.pm +++ b/lib/WebGUI/Operation/Settings.pm @@ -456,7 +456,7 @@ sub definition { tab => "user", name => "showMessageOnLogin", fieldType => "yesNo", - defaultValue => $setting->get('showMessageOnLoginTimes'), + defaultValue => $setting->get('showMessageOnLogin'), label => $i18n->get( 'showMessageOnLogin label' ), hoverHelp => $i18n->get( 'showMessageOnLogin description' ), };