* Fixed the function of the actions button.

This commit is contained in:
tianshujie
2023-10-17 13:30:20 +08:00
parent 7f00ba5476
commit a180e399b2
7 changed files with 27 additions and 23 deletions
+2 -4
View File
@@ -1004,15 +1004,13 @@ class api extends control
/**
* Delete a catalog.
*
* @param int $rootID
* @param int $moduleID
* @param string $confirm yes|no
* @access public
* @return void
*/
public function deleteCatalog($rootID, $moduleID, $confirm = 'no')
public function deleteCatalog($moduleID)
{
echo $this->fetch('tree', 'delete', "rootID=$rootID&moduleID=$moduleID&confirm=$confirm");
echo $this->fetch('tree', 'delete', "moduleID=$moduleID&confirm=yes");
}
/**