diff --git a/hwe/func_process.old.php b/hwe/func_process.old.php index d732ed6f..a0bbebd1 100644 --- a/hwe/func_process.old.php +++ b/hwe/func_process.old.php @@ -223,7 +223,7 @@ function process_domestic(array $rawGeneral, int $type){ } $cmdObj = new $cmdClass($general, $env); - if(!$cmdObj->isAvailable()){ + if(!$cmdObj->isRunnable()){ return; } $cmdObj->run(); diff --git a/hwe/func_process.php b/hwe/func_process.php index 2cbb41bf..6a2ecd68 100644 --- a/hwe/func_process.php +++ b/hwe/func_process.php @@ -233,7 +233,7 @@ function process_domestic(array $rawGeneral, int $type){ } $cmdObj = new $cmdClass($general, $env); - if(!$cmdObj->isAvailable()){ + if(!$cmdObj->isRunnable()){ return; } $cmdObj->run(); diff --git a/hwe/index.php b/hwe/index.php index 40cae3ca..c3ab5887 100644 --- a/hwe/index.php +++ b/hwe/index.php @@ -235,7 +235,14 @@ else if($session->userGrade == 4){