This commit is contained in:
mayue
2021-11-11 16:08:03 +08:00
parent 81f49bd434
commit f8eebdf678
+1 -1
View File
@@ -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]);