summaryrefslogtreecommitdiff
path: root/app/Subscriber/BootstrapSubscriber.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-12-12 16:52:12 -0500
committerFrederic Guillot <fred@kanboard.net>2015-12-12 16:52:12 -0500
commitdc40675f3725646438b81134a15ac3c929424a2b (patch)
treed5ecda73d7a9ca57a5d2a05740980b0cd3776bdf /app/Subscriber/BootstrapSubscriber.php
parentb834f5475c8eebb76548046558e7d1464cbd01d4 (diff)
Fix regression for subtask restriction
Diffstat (limited to 'app/Subscriber/BootstrapSubscriber.php')
-rw-r--r--app/Subscriber/BootstrapSubscriber.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Subscriber/BootstrapSubscriber.php b/app/Subscriber/BootstrapSubscriber.php
index ed51a3e1..e399f688 100644
--- a/app/Subscriber/BootstrapSubscriber.php
+++ b/app/Subscriber/BootstrapSubscriber.php
@@ -17,6 +17,7 @@ class BootstrapSubscriber extends \Kanboard\Core\Base implements EventSubscriber
{
$this->config->setupTranslations();
$this->config->setupTimezone();
+ $this->sessionStorage->hasSubtaskInProgress = $this->subtask->hasSubtaskInProgress($this->userSession->getId());
}
public function __destruct()