adding pmdynaform lib folder
This commit is contained in:
4
thirdparty/jsmin/jsmin.php
vendored
4
thirdparty/jsmin/jsmin.php
vendored
@@ -220,6 +220,10 @@ class JSMin {
|
||||
* @return bool
|
||||
*/
|
||||
protected function isAlphaNum($c) {
|
||||
// Check if $c is null or not a string
|
||||
if (!is_string($c) || strlen($c) === 0) {
|
||||
return false; // Return false if $c is not a valid character
|
||||
}
|
||||
return ord($c) > 126 || $c === '\\' || preg_match('/^[\w\$]$/', $c) === 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user