summaryrefslogtreecommitdiff
path: root/app/Helper
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/Helper
parentb834f5475c8eebb76548046558e7d1464cbd01d4 (diff)
Fix regression for subtask restriction
Diffstat (limited to 'app/Helper')
-rw-r--r--app/Helper/Subtask.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Helper/Subtask.php b/app/Helper/Subtask.php
index 7d474de0..90bd733e 100644
--- a/app/Helper/Subtask.php
+++ b/app/Helper/Subtask.php
@@ -25,7 +25,7 @@ class Subtask extends \Kanboard\Core\Base
return trim($this->template->render('subtask/icons', array('subtask' => $subtask))) . $this->helper->e($subtask['title']);
}
- if ($subtask['status'] == 0 && isset($this->sessionStorage->hasSubtaskInProgress) && $this->sessionStorage->hasSubtaskInProgress === true) {
+ if ($subtask['status'] == 0 && isset($this->sessionStorage->hasSubtaskInProgress) && $this->sessionStorage->hasSubtaskInProgress) {
return $this->helper->url->link(
trim($this->template->render('subtask/icons', array('subtask' => $subtask))) . $this->helper->e($subtask['title']),
'subtask',