Skip to content

Commit 066db58

Browse files
committed
Fix #68
1 parent 8e576ff commit 066db58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Task_Comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static public function getCommentsForTaskItem($plugin_tasklists_tasks_id, $lang,
261261
$db_comments = $DB->request([
262262
'FROM' => 'glpi_plugin_tasklists_tasks_comments',
263263
'WHERE' => $where,
264-
'ORDER' => ['id' => 'ASC']
264+
'ORDERBY' => 'id ASC',
265265
]);
266266

267267
$comments = [];

0 commit comments

Comments
 (0)