Unify reorder results to always be an array (#1257)

Unify reorder results to always be an array
This commit is contained in:
Julius Härtl
2019-10-04 18:22:40 +02:00
committed by GitHub

View File

@@ -423,7 +423,7 @@ class CardService {
$result[$card->getOrder()] = $card;
}
$this->changeHelper->cardChanged($id, false);
return $result;
return array_values($result);
}
/**