aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2023-01-11 13:55:48 +0100
committerDaniel Lange <DLange@git.local>2023-01-11 13:55:48 +0100
commit62b94a401a7b7646f40061d53761b999f06028d2 (patch)
tree91727ee4e61e51a66801a8ae80695d37528de5ad
parent7497720d41e3c76315097c975323e7c81fddfd9b (diff)
downloadstikked-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.php2
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() {

© 2014-2024 Faster IT GmbH | imprint | privacy policy