From ad2c468f68692c6ea420f54af3e4bf47bba59736 Mon Sep 17 00:00:00 2001 From: Alexandre Delaunay Date: Thu, 24 Nov 2016 15:41:49 +0100 Subject: [PATCH] fix tests (trailing spaces) --- inc/api.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/api.class.php b/inc/api.class.php index 48dbe663468..44527766296 100644 --- a/inc/api.class.php +++ b/inc/api.class.php @@ -1578,7 +1578,7 @@ protected function updateItems($itemtype, $params = array()) { if (!$item->can($object->id, UPDATE)) { $failed++; $idCollection[] = array( - $object->id => false, + $object->id => false, 'message' => __("You don't have permission to perform this action.") ); } else { @@ -1683,7 +1683,7 @@ protected function deleteItems($itemtype, $params=array()) { && !$item->can($object->id, DELETE))) { $failed++; $idCollection[] = array( - $object->id => false, + $object->id => false, 'message' => __("You don't have permission to perform this action.") ); } else {