diff --git a/app/admin/incFunctions.php b/app/admin/incFunctions.php index deb6dec..282d140 100644 --- a/app/admin/incFunctions.php +++ b/app/admin/incFunctions.php @@ -1457,7 +1457,7 @@ function html_attr($str) { function html_attr_tags_ok($str) { // use this instead of html_attr() if you don't want html tags to be escaped $new_str = html_attr($str); - return str_replace(array('<', '>'), array('<', '>'), $new_str); + return str_replace(['<', '>'], ['<', '>'], $new_str); } ######################################################### class Notification{ diff --git a/app/admin/pageServerStatus.php b/app/admin/pageServerStatus.php index 3a14b31..9ea114d 100644 --- a/app/admin/pageServerStatus.php +++ b/app/admin/pageServerStatus.php @@ -1,6 +1,6 @@