X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FPreferences.php;h=5a9f0b055df821f884ac0fe933f4e7a7bae7a9d7;hb=1fbb5fcaa7bfb6d38d24ee0ae64439e43423e023;hp=70addfcf905d0ec53cbe195637b33f00c1252e19;hpb=1a614c8dadc543a7998210486a3fed476205f12f;p=lhc%2Fweb%2Fwiklou.git 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 ); }