From 0d4b6525dd86f837eb9e931e48a92fc6a0033e11 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 9 Sep 2014 07:13:48 +0200 Subject: The color is not mandatory for task creation through the API --- jsonrpc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jsonrpc.php') diff --git a/jsonrpc.php b/jsonrpc.php index e4e2a778..4bb1ffa8 100644 --- a/jsonrpc.php +++ b/jsonrpc.php @@ -116,7 +116,7 @@ $server->register('allowUser', function($project_id, $user_id) use ($project) { /** * Task procedures */ -$server->register('createTask', function($title, $project_id, $color_id, $column_id, $owner_id = 0, $creator_id = 0, $date_due = '', $description = '', $category_id = 0, $score = 0) use ($task) { +$server->register('createTask', function($title, $project_id, $color_id = '', $column_id = 0, $owner_id = 0, $creator_id = 0, $date_due = '', $description = '', $category_id = 0, $score = 0) use ($task) { $values = array( 'title' => $title, -- cgit v1.2.3