diff --git a/module/product/control.php b/module/product/control.php index ea4bf92f46..d56321322f 100644 --- a/module/product/control.php +++ b/module/product/control.php @@ -371,6 +371,7 @@ class product extends control */ public function batchEdit($productID = 0) { + $this->lang->product->switcherMenu = $this->product->getSwitcher(); if($this->post->names) { $allChanges = $this->product->batchUpdate(); @@ -765,6 +766,7 @@ class product extends control $pager = new pager($recTotal, $recPerPage, $pageID); $program = $programID ? $this->program->getPGMByID($programID) : 0; + $programName = empty($program) ? '' : $program->name; $this->view->title = $this->lang->product->common; $this->view->position[] = $this->lang->product->common; @@ -775,6 +777,7 @@ class product extends control $this->view->programTree = $this->program->getPGMTreeMenu($programID, 'product', '&browseType=' . $browseType); $this->view->programID = $programID; $this->view->program = $program; + $this->view->programName = $programName; $this->view->browseType = $browseType; $this->display(); } diff --git a/module/product/view/all.html.php b/module/product/view/all.html.php index de45e1c88d..4fa6bd0235 100644 --- a/module/product/view/all.html.php +++ b/module/product/view/all.html.php @@ -51,14 +51,15 @@ idAB);?>