* Modify name check.

This commit is contained in:
caoyanyi
2023-04-07 15:36:17 +08:00
parent 35e690fec5
commit 25587941ec
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -320,6 +320,7 @@ class api extends control
$now = helper::now();
$userId = $this->app->user->account;
$data = fixer::input('post')
->trim('name')
->add('lib', $libID)
->skipSpecial('attribute')
->add('addedBy', $userId)