Skip to content

Commit

Permalink
Fixed issue #1114
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Jan 26, 2022
1 parent 69320ea commit 7ff806e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/classes/config.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,7 @@ private function _UI_get_conf_element($group, $name, $display_name, $type, $val,
*/
$t->set_var('value', str_replace(',', '.', $val));
} else {
$t->set_var('value', empty($val) ? '' : htmlspecialchars($val));
$t->set_var('value', ($val === null || $val === '') ? '' : htmlspecialchars($val));
}
}

Expand Down

0 comments on commit 7ff806e

Please sign in to comment.