mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix deprecation warnings in PHP 8.2
This commit is contained in:
parent
6c844f91ef
commit
651238916b
8 changed files with 17 additions and 23 deletions
|
|
@ -229,8 +229,8 @@ class XmlJsFilter extends XeXmlParser
|
|||
continue;
|
||||
}
|
||||
|
||||
$rule = trim($attrs->rule ? $attrs->rule : $attrs->filter);
|
||||
$equalto = trim($attrs->equalto);
|
||||
$rule = trim(strval($attrs->rule ? $attrs->rule : $attrs->filter));
|
||||
$equalto = trim(strval($attrs->equalto));
|
||||
|
||||
$field = array();
|
||||
|
||||
|
|
@ -387,7 +387,7 @@ class XmlJsFilter extends XeXmlParser
|
|||
$js_messages[] = sprintf("v.cast('ADD_MESSAGE',['%s','%s']);", $key, $val);
|
||||
}
|
||||
|
||||
$callback_func = $xml_obj->filter->response->attrs->callback_func;
|
||||
$callback_func = $xml_obj->filter->response->attrs->callback_func ?? null;
|
||||
if(!$callback_func)
|
||||
{
|
||||
$callback_func = "filterAlertMessage";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue