* Remove unwanted method parameter passes of todoController::create().

This commit is contained in:
xushenjie
2023-05-06 03:16:21 +00:00
parent 6249848b91
commit 72fe4034ff
+1 -1
View File
@@ -48,7 +48,7 @@ class todo extends control
$todo = $this->todoZen->prepareCreateData($todoData, $uid);
if(!$todo) return print(js::error(dao::getError()));
$todoID = $this->todo->create($todo, $formData);
$todoID = $this->todo->create($todo);
if($todoID === false) return print(js::error(dao::getError()));
$todo->id = $todoID;