Skip to content

Commit

Permalink
Fixed some errors with PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Jan 21, 2022
1 parent df8dd22 commit 2bfb5e9
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', htmlspecialchars($val));
$t->set_var('value', empty($val) ? '' : htmlspecialchars($val));
}
}

Expand Down

0 comments on commit 2bfb5e9

Please sign in to comment.