From dc40675f3725646438b81134a15ac3c929424a2b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 12 Dec 2015 16:52:12 -0500 Subject: Fix regression for subtask restriction --- app/Subscriber/BootstrapSubscriber.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Subscriber/BootstrapSubscriber.php') 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() -- cgit v1.2.3