This commit is contained in:
mayue
2021-11-25 13:31:35 +08:00
parent 1cf28e1120
commit 36afb288d6
+1 -1
View File
@@ -205,7 +205,7 @@ class branch extends control
*/
public function ajaxGetDropMenu($productID, $branch = 0, $module, $method, $extra = '')
{
$branches = $this->branch->getPairs($productID, 'all', empty($extra) ? $extra : 0);
$branches = $this->branch->getPairs($productID, 'all', !empty($extra) ? $extra : 0);
$statusList = $this->dao->select('id,status')->from(TABLE_BRANCH)->where('product')->eq($productID)->fetchPairs();
$this->view->link = $this->loadModel('product')->getProductLink($module, $method, $extra, true);