more PHP 8.1 deprecated warnings

This commit is contained in:
Mario
2022-02-02 12:44:39 +00:00
parent 2a15d2c421
commit d8372f8433

View File

@@ -417,6 +417,9 @@ function xmlify($str) {
//$buffer = '';
if (!$str)
return EMPTY_STR;
if(is_array($str)) {
// allow to fall through so we ge a PHP error, as the log statement will
@@ -482,6 +485,9 @@ function unxmlify($s) {
return $ret;
*/
if (!$s)
return EMPTY_STR;
if(is_array($s)) {
// allow to fall through so we ge a PHP error, as the log statement will