* Replace 'true' with true.

This commit is contained in:
liumengyi
2024-05-28 16:47:28 +08:00
parent f896b94d03
commit 9640d3b25a
+1 -1
View File
@@ -468,7 +468,7 @@ class productZen extends product
$moduleName = $tab == 'program' ? 'program' : $this->moduleName;
$methodName = $tab == 'program' ? 'product' : 'browse';
$param = $tab == 'program' ? "programID=$programID" : "productID=$productID";
$location = isInModal() ? 'true' : $this->createLink($moduleName, $methodName, $param);
$location = isInModal() ? true : $this->createLink($moduleName, $methodName, $param);
if($tab == 'doc') $location = $this->createLink('doc', 'productSpace', "objectID=$productID");
return array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => $location, 'closeModal' => true);