* [MOD] Improved parsing request data

This commit is contained in:
nuxsmin
2018-03-03 12:44:02 +01:00
parent 7ec589a6fe
commit e0a45f4b2e
56 changed files with 436 additions and 437 deletions

View File

@@ -153,10 +153,13 @@ abstract class ControllerBase
$this->view->setBase(strtolower($this->controllerName));
$this->icons = $this->theme->getIcons();
$this->userData = clone $this->session->getUserData();
$this->userProfileData = clone $this->session->getUserProfile();
$this->setViewVars();
if ($this->session->isLoggedIn()) {
$this->userData = clone $this->session->getUserData();
$this->userProfileData = clone $this->session->getUserProfile();
$this->setViewVars();
}
if (method_exists($this, 'initialize')) {
$this->initialize();