summaryrefslogtreecommitdiffstats
path: root/lib/kolab_client_task.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-23 14:27:27 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-23 14:30:17 +0200
commit48b9a1b46dae3c395e29541aadc5636f1baf1934 (patch)
tree25d3d765f7bc79d622bbe1702ff40226d046e0b7 /lib/kolab_client_task.php
parenta3dfc9b28c5064649761adaa2d8d6402df076ec4 (diff)
downloadwebadmin-48b9a1b46dae3c395e29541aadc5636f1baf1934.tar.gz
Fix occasional "PHP Fatal error: Call to a member function login_form() on a non-object"
Diffstat (limited to 'lib/kolab_client_task.php')
-rw-r--r--lib/kolab_client_task.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kolab_client_task.php b/lib/kolab_client_task.php
index e6df470..d11ca61 100644
--- a/lib/kolab_client_task.php
+++ b/lib/kolab_client_task.php
@@ -114,6 +114,9 @@ class kolab_client_task
$skin = $this->config_get('skin', 'default');
$this->output = new kolab_client_output($skin);
+
+ // Assign self to template variable
+ $this->output->assign('engine', $this);
}
/**
@@ -268,9 +271,6 @@ class kolab_client_task
// Initialize locales
$this->locale_init();
- // Assign self to template variable
- $this->output->assign('engine', $this);
-
// Session check
if (empty($_SESSION['user']) || empty($_SESSION['user']['token'])) {
$this->action_logout();