Skip to content

Commit ad2c468

Browse files
orthaghtrasher
authored andcommitted
fix tests (trailing spaces)
1 parent cdc3be8 commit ad2c468

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/api.class.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,7 @@ protected function updateItems($itemtype, $params = array()) {
15781578
if (!$item->can($object->id, UPDATE)) {
15791579
$failed++;
15801580
$idCollection[] = array(
1581-
$object->id => false,
1581+
$object->id => false,
15821582
'message' => __("You don't have permission to perform this action.")
15831583
);
15841584
} else {
@@ -1683,7 +1683,7 @@ protected function deleteItems($itemtype, $params=array()) {
16831683
&& !$item->can($object->id, DELETE))) {
16841684
$failed++;
16851685
$idCollection[] = array(
1686-
$object->id => false,
1686+
$object->id => false,
16871687
'message' => __("You don't have permission to perform this action.")
16881688
);
16891689
} else {

0 commit comments

Comments
 (0)