From 0c5e391da93ad91b404e0de5b99ef401b362bd60 Mon Sep 17 00:00:00 2001 From: Uman Shield Date: Mon, 4 Jul 2016 15:30:55 +0300 Subject: [PATCH] fix catchable error in \Bitrix24\Task\Item::update() --- src/classes/task/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/task/item.php b/src/classes/task/item.php index c736af5b..9b7a2e6b 100644 --- a/src/classes/task/item.php +++ b/src/classes/task/item.php @@ -57,7 +57,7 @@ public function getData($taskId) */ public function update($taskId, $taskData) { - $result = $this->client->call('task.item.update', $taskId, array($taskData)); + $result = $this->client->call('task.item.update', array($taskId, $taskData)); return $result; }