*
This commit is contained in:
@@ -2083,7 +2083,7 @@ class execution extends control
|
||||
$this->view->productID = $productID;
|
||||
$this->view->branchID = $branchID;
|
||||
$this->view->projectID = $this->loadModel('task')->getProjectID($execution->id);
|
||||
$this->view->allProducts = $this->loadModel('product')->getProductPairsByProject($this->view->projectID, 'noclosed');
|
||||
$this->view->allProducts = $this->product->getProductPairsByProject($this->view->projectID, 'noclosed');
|
||||
$this->view->allPlans = $allPlans;
|
||||
$this->view->kanbanData = $kanbanData;
|
||||
$this->view->executionActions = $executionActions;
|
||||
|
||||
@@ -168,7 +168,7 @@ js::set('hasTaskButton', $hasTaskButton);
|
||||
<?php
|
||||
if($canBatchCreateStory)
|
||||
{
|
||||
if(count($allProducts)>1)
|
||||
if(count($allProducts) > 1)
|
||||
{
|
||||
echo '<li>' . html::a('#batchCreateStory', $lang->execution->batchCreateStory, '', 'data-toggle="modal"') . '</li>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user