* Code for php8.0.

This commit is contained in:
孙广明
2021-12-29 16:59:54 +08:00
parent 378b77cec7
commit 3d3d4130dd
10 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -534,7 +534,7 @@ class tree extends control
* @access public
* @return string the html select string.
*/
public function ajaxGetModules($productID, $viewType = 'story', $branchID, $number, $currentModuleID = 0)
public function ajaxGetModules($productID, $viewType = 'story', $branchID = 0, $number = 0, $currentModuleID = 0)
{
$currentModule = $this->tree->getById($currentModuleID);
$currentModuleID = (isset($currentModule->branch) and $currentModule->branch == 0) ? $currentModuleID : 0;