* Finish task #45028.
This commit is contained in:
@@ -1720,7 +1720,8 @@ class testcase extends control
|
||||
$queryID = (int)$queryID;
|
||||
$product = $this->loadModel('product')->getById($productID);
|
||||
$branches = array();
|
||||
if($product->type != 'normal') $branches = array('0' => $this->lang->branch->main) + $this->loadModel('branch')->getPairs($productID, '', $projectID);
|
||||
if($product->type != 'normal') $branches = $this->loadModel('branch')->getPairs($productID, '', $projectID);
|
||||
if(!in_array($this->lang->branch->main, $branches)) $branches = array('0' => $this->lang->branch->main) + $branches;
|
||||
|
||||
if($_POST)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user