includes/characterlist.php: remove the duplicate isNumber() - two identical top-level declarations are a parse-time fatal (Cannot redeclare) in every PHP version, so the file cannot run with both copies present
--- a/includes/characterlist.php
+++ b/includes/characterlist.php
@@ -6,14 +6,6 @@
include(_BASEDIR."languages/$lang.php");
//header("Content-Type: text/html; charset=".CHARSET,true);
include("../includes/queries.php");
-// Checks that the given $num is actually a number. Used to help prevent XSS attacks.
-// Peculiar... Leaving both copies of the same exact function in this file prevents
-// breakage of the character list when using the category list for tinyMCE 4.x and newer...
-function isNumber($num) {
- if(empty($num)) return false;
- return (preg_match("/^[0-9]+$/", $num) || $num == "-1" ? true : false);
-}
-
// Checks that the given $num is actually a number. Used to help prevent XSS attacks.
// Peculiar... Leaving both copies of the same exact function in this file prevents
// breakage of the character list when using the category list for tinyMCE 4.x and newer...