Skip to content
Permalink
Browse files Browse the repository at this point in the history
Forms: Possible fix for invalid dates
(cherry picked from commit 2aedae5)
  • Loading branch information
mjansenDatabay committed Apr 6, 2018
1 parent 8121460 commit eb0272c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/Form/classes/class.ilDateTimeInputGUI.php
Expand Up @@ -311,7 +311,7 @@ function render()
$tpl->setVariable('PLACEHOLDER', $pl_format);

// current value
$date_value = $this->invalid_input;
$date_value = htmlspecialchars($this->invalid_input);
if(!$date_value &&
$this->getDate())
{
Expand Down

0 comments on commit eb0272c

Please sign in to comment.