* Modify the error.
This commit is contained in:
@@ -63,6 +63,7 @@ class branch extends control
|
||||
*/
|
||||
public function ajaxGetDropMenu($productID, $branch = 0, $module, $method, $extra = '')
|
||||
{
|
||||
$branches = $this->branch->getPairs($productID, 'all');
|
||||
$this->view->link = $this->loadModel('product')->getProductLink($module, $method, $extra, true);
|
||||
$this->view->productID = $productID;
|
||||
$this->view->projectID = $this->session->project;
|
||||
@@ -70,7 +71,7 @@ class branch extends control
|
||||
$this->view->method = $method;
|
||||
$this->view->extra = $extra;
|
||||
|
||||
$this->view->branches = $this->branch->getPairs($productID, 'all');
|
||||
$this->view->branches = $branches;
|
||||
$this->view->currentBranchID = $branch;
|
||||
$this->view->branchesPinyin = common::convert2Pinyin($branches);
|
||||
$this->display();
|
||||
|
||||
Reference in New Issue
Block a user