Merge branch 'sprint/170_mayue_16191' into 'sprint/170'
* Fix bug #16191. See merge request easycorp/zentaopms!414
This commit is contained in:
@@ -211,7 +211,7 @@ class product extends control
|
||||
|
||||
$product = $this->product->getById($productID);
|
||||
|
||||
if($product->type != 'normal')
|
||||
if($product and $product->type != 'normal')
|
||||
{
|
||||
$this->app->loadLang('datatable');
|
||||
$this->lang->datatable->showBranch = sprintf($this->lang->datatable->showBranch, $this->lang->product->branchName[$product->type]);
|
||||
|
||||
Reference in New Issue
Block a user