From ba1c546fef1433a7b62aaaacabdaacbdb9979ffa Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 6 Nov 2024 17:49:56 +0800 Subject: [PATCH] 1 --- webapp/controller/ToolsController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/controller/ToolsController.class.php b/webapp/controller/ToolsController.class.php index 25aeee20..b6c98fcb 100644 --- a/webapp/controller/ToolsController.class.php +++ b/webapp/controller/ToolsController.class.php @@ -573,8 +573,8 @@ class ToolsController extends BaseController { public function nameIsUsed() { - $name = getReqVal('name'); - echo NameService::nameUsed($name); + $name = getReqVal('name', ''); + var_dump(NameService::nameUsed($name)); } }