summaryrefslogtreecommitdiff
path: root/jsonrpc.php
diff options
context:
space:
mode:
Diffstat (limited to 'jsonrpc.php')
-rw-r--r--jsonrpc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonrpc.php b/jsonrpc.php
index 8890bea0..e9a50b35 100644
--- a/jsonrpc.php
+++ b/jsonrpc.php
@@ -333,7 +333,7 @@ $server->register('updateSubtask', function($id, $task_id, $title = null, $user_
}
}
- list($valid,) = $subTaskModel->validateModification($values);
+ list($valid,) = $subTaskModel->validateApiModification($values);
return $valid && $subTaskModel->update($values);
});