From 3130a66ad3eb3d90f554d54eed1e540dab0369c6 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 28 Oct 2013 12:58:18 +0100 Subject: [PATCH] Fixed browsing settings --- src/Controllers/UserController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controllers/UserController.php b/src/Controllers/UserController.php index 5b4fb29b..01a9cfd2 100644 --- a/src/Controllers/UserController.php +++ b/src/Controllers/UserController.php @@ -212,6 +212,8 @@ class UserController $user->enableEndlessScrolling(InputHelper::get('endless-scrolling')); R::store($user); + if ($user->id == $this->context->user->id) + $this->context->user = $user; AuthController::doReLog(); $this->context->transport->success = true; }