openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit baa35606728494f81c40de7c3affcdf59a0394f4
parent 4db5e1efa8da366bcc727aa9654f8bc92e8facb7
Author: Jan Dankert <devnull@localhost>
Date:   Sat, 13 Jan 2018 01:19:29 +0100

Nicht auf globale Variable $conf verweisen.

Diffstat:
modules/cms-core/action/ProfileAction.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/cms-core/action/ProfileAction.class.php b/modules/cms-core/action/ProfileAction.class.php @@ -296,7 +296,7 @@ class ProfileAction extends Action */ public function setLanguage($l) { - global $conf; + $conf = Session::getConfig(); $conf['language'] = Language::getLanguage($l,PRODUCTION); $conf['language']['language_code'] = $l; Session::setConfig($conf);