commit 192e499be6221aff0e9fb35adebfcec93d7edf2c
parent beb0f6b0e8ed800179854ce1cd72db57e691f4d4
Author: Jan Dankert <devnull@localhost>
Date: Fri, 31 Aug 2018 22:54:37 +0200
Fix für die Anzeige der Message of the day.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/cms-ui/action/IndexAction.class.php b/modules/cms-ui/action/IndexAction.class.php
@@ -157,7 +157,7 @@ class IndexAction extends Action
$messageOfTheDay = config('login', 'motd');
if ( !empty($messageOfTheDay) )
- $this->addNotice('user','','MOTD',OR_NOTICE_WARN,array('motd',$messageOfTheDay) );
+ $this->addNotice('user','','MOTD',OR_NOTICE_WARN,array('motd'=>$messageOfTheDay) );
$methods = array(
'edit' => true,