* Code for bug#17503.
This commit is contained in:
@@ -224,7 +224,7 @@ class productplan extends control
|
||||
$this->session->set('productPlanList', $this->app->getURI(true), 'product');
|
||||
|
||||
$this->commonAction($productID, $branch);
|
||||
$product = $this->loadModel('product')->getById($productID);
|
||||
$product = $this->product->getById($productID);
|
||||
$productName = empty($product) ? '' : $product->name;
|
||||
|
||||
$this->view->title = $productName . $this->lang->colon . $this->lang->productplan->browse;
|
||||
|
||||
@@ -139,7 +139,7 @@
|
||||
if($product->type != 'normal')
|
||||
{
|
||||
$branchStatus = $this->branch->getByID($plan->branch, 0, 'status');
|
||||
$disabled = $branchStatus == 'closed' ? 'disabled' : '';
|
||||
if($branchStatus == 'closed') $disabled = 'disabled';
|
||||
}
|
||||
|
||||
if($config->systemMode == 'new')
|
||||
|
||||
Reference in New Issue
Block a user