From a76f89c9e9c826501840344ec9fb9408c8646dc7 Mon Sep 17 00:00:00 2001 From: Tim Schmitz Date: Fri, 29 Sep 2023 09:36:55 +0200 Subject: [PATCH] fix ordering with non-numeric inputs --- .../Settings/Copyright/class.ilMDCopyrightSelectionGUI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/MetaData/classes/Settings/Copyright/class.ilMDCopyrightSelectionGUI.php b/Services/MetaData/classes/Settings/Copyright/class.ilMDCopyrightSelectionGUI.php index 0e5b134032d5..58d77aeb766b 100644 --- a/Services/MetaData/classes/Settings/Copyright/class.ilMDCopyrightSelectionGUI.php +++ b/Services/MetaData/classes/Settings/Copyright/class.ilMDCopyrightSelectionGUI.php @@ -475,7 +475,7 @@ public function saveCopyrightPosition(): bool $positions = $this->http->wrapper()->post()->retrieve( 'order', $this->refinery->kindlyTo()->dictOf( - $this->refinery->kindlyTo()->int() + $this->refinery->kindlyTo()->string() ) ); asort($positions);