diff options
author | Daniel Lange <DLange@git.local> | 2023-01-11 13:55:48 +0100 |
---|---|---|
committer | Daniel Lange <DLange@git.local> | 2023-01-11 13:55:48 +0100 |
commit | 62b94a401a7b7646f40061d53761b999f06028d2 (patch) | |
tree | 91727ee4e61e51a66801a8ae80695d37528de5ad | |
parent | 7497720d41e3c76315097c975323e7c81fddfd9b (diff) | |
download | stikked-fit-62b94a401a7b7646f40061d53761b999f06028d2.tar.gz stikked-fit-62b94a401a7b7646f40061d53761b999f06028d2.tar.bz2 stikked-fit-62b94a401a7b7646f40061d53761b999f06028d2.zip |
Another PHP 8.1 fix for JSmin
-rw-r--r-- | htdocs/application/libraries/Jsmin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/application/libraries/Jsmin.php b/htdocs/application/libraries/Jsmin.php index a78363c..aa2aacd 100644 --- a/htdocs/application/libraries/Jsmin.php +++ b/htdocs/application/libraries/Jsmin.php @@ -174,7 +174,7 @@ class JSMin { }
protected function isAlphaNum($c) {
- return ord($c) > 126 || $c === '\\' || preg_match('/^[\w\$]$/', (string)$c) === 1;
+ return ord($c ?? '') > 126 || $c === '\\' || preg_match('/^[\w\$]$/', (string)$c) === 1;
}
protected function min() {
|