* Code for task#43902.
This commit is contained in:
@@ -98,8 +98,6 @@ class branchModel extends model
|
||||
|
||||
$branches = array('all' => $this->lang->branch->all, '0' => $this->lang->branch->main) + $branches;
|
||||
}
|
||||
|
||||
if(strpos($params, 'noall') !== false) unset($branches['all']);
|
||||
return $branches;
|
||||
}
|
||||
|
||||
|
||||
@@ -313,7 +313,7 @@ class story extends control
|
||||
$this->view->color = $color;
|
||||
$this->view->pri = $pri;
|
||||
$this->view->branch = $branch;
|
||||
$this->view->branches = $product->type != 'normal' ? $this->loadModel('branch')->getPairs($productID, 'active|noall') : array();
|
||||
$this->view->branches = $product->type != 'normal' ? $this->loadModel('branch')->getPairs($productID, 'active') : array();
|
||||
$this->view->productID = $productID;
|
||||
$this->view->product = $product;
|
||||
$this->view->objectID = $objectID;
|
||||
@@ -627,7 +627,7 @@ class story extends control
|
||||
$this->view->users = $users;
|
||||
$this->view->product = $product;
|
||||
$this->view->products = $myProducts + $othersProducts;
|
||||
$this->view->branches = $product->type == 'normal' ? array() : $this->loadModel('branch')->getPairs($story->product, 'noall');
|
||||
$this->view->branches = $product->type == 'normal' ? array() : $this->loadModel('branch')->getPairs($story->product);
|
||||
$this->view->reviewers = implode(',', $reviewerList);
|
||||
$this->view->reviewedReviewer = $reviewedReviewer;
|
||||
$this->view->isShowReviewer = $isShowReviewer;
|
||||
|
||||
Reference in New Issue
Block a user