Skip to content

Commit ac4fe16

Browse files
authored
fix date range comparison for combination inputs (ILIAS-eLearning#8360)
1 parent 5a44088 commit ac4fe16

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Services/Form/classes/class.ilDateTimeInputGUI.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
declare(strict_types=1);
4-
53
/**
64
* This file is part of ILIAS, a powerful learning management system
75
* published by ILIAS open source e-Learning e.V.
@@ -18,6 +16,8 @@
1816
*
1917
*********************************************************************/
2018

19+
declare(strict_types=1);
20+
2121
/**
2222
* This class represents a date/time property in a property form.
2323
*
@@ -327,7 +327,7 @@ public function unserializeData(string $a_data): void
327327

328328
public function getPostValueForComparison(): string
329329
{
330-
return trim($this->str($this->getPostVar()));
330+
return $this->serializeData();
331331
}
332332

333333
public function getToolbarHTML(): string

0 commit comments

Comments
 (0)