X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FPreferences.php;h=5a9f0b055df821f884ac0fe933f4e7a7bae7a9d7;hp=70addfcf905d0ec53cbe195637b33f00c1252e19;hb=a4efd27998e0202eec82aea5e5fc70650fbdf514;hpb=b42a366b66c75898d70b0b70eb9be7e73cf0bc35 diff --git a/includes/Preferences.php b/includes/Preferences.php index 70addfcf90..5a9f0b055d 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -1494,7 +1494,7 @@ class Preferences { $context = $form->getContext(); // Set session data for the success message - $context->getRequest()->setSessionData( 'specialPreferencesSaveSuccess', 1 ); + $context->getRequest()->getSession()->set( 'specialPreferencesSaveSuccess', 1 ); $context->getOutput()->redirect( $url ); }