summaryrefslogtreecommitdiff
path: root/app/Template/board/table_container.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board/table_container.php')
-rw-r--r--app/Template/board/table_container.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/Template/board/table_container.php b/app/Template/board/table_container.php
index b20426a6..fb9212a7 100644
--- a/app/Template/board/table_container.php
+++ b/app/Template/board/table_container.php
@@ -13,7 +13,6 @@
>
<?php endif ?>
- <?php $nb_swimlanes = count($swimlanes) ?>
<?php foreach ($swimlanes as $index => $swimlane): ?>
<?php if (empty($swimlane['columns'])): ?>
<p class="alert alert-error"><?= t('There is no column in your project!') ?></p>
@@ -26,7 +25,7 @@
)) ?>
<?php endif ?>
- <?php if ($nb_swimlanes > 1): ?>
+ <?php if ($swimlane['nb_swimlanes'] > 1): ?>
<?= $this->render('board/table_swimlane', array(
'project' => $project,
'swimlane' => $swimlane,