Skip to content

Commit

Permalink
fix tests (trailing spaces)
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh authored and trasher committed Nov 24, 2016
1 parent cdc3be8 commit ad2c468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/api.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit ad2c468

Please sign in to comment.