[stable-0.6] Unify reorder results to always be an array (#1276)

[stable-0.6] Unify reorder results to always be an array
This commit is contained in:
Julius Härtl
2019-10-04 20:17:29 +02:00
committed by GitHub

View File

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