* Merge code.
This commit is contained in:
@@ -18,3 +18,6 @@ INSERT INTO `zt_lang` (`lang`, `module`, `section`, `key`, `value`, `system`) VA
|
||||
('zh-cn', 'custom', 'SRList', '2', '软需', '1'),
|
||||
('zh-cn', 'custom', 'SRList', '3', '故事', '1'),
|
||||
('zh-cn', 'custom', 'SRList', '4', '故事', '1');
|
||||
|
||||
TRUNCATE TABLE `zt_block`;
|
||||
DELETE FROM `zt_config` WHERE `key` = 'blockInited';
|
||||
|
||||
@@ -689,8 +689,8 @@ class product extends control
|
||||
*/
|
||||
public function ajaxGetDropMenu($productID, $module, $method, $extra)
|
||||
{
|
||||
$inProduct = zget($this->lang->navGroup, $module) == 'product';
|
||||
$products = $inProduct ? $this->product->getList() : $this->product->getProductsByProject($this->session->PRJ);
|
||||
$inProduct = zget($this->lang->navGroup, $this->app->rawModule) == 'product';
|
||||
$products = $inProduct ? $this->product->getList() : $this->product->getProductsByProject($this->session->PRJ);
|
||||
|
||||
$this->view->link = $this->product->getProductLink($module, $method, $extra);
|
||||
$this->view->productID = $productID;
|
||||
|
||||
Reference in New Issue
Block a user