mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +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
|
|
@ -853,8 +853,8 @@ class CommentModel extends Comment
|
|||
}
|
||||
|
||||
// Search options
|
||||
$search_target = (isset($obj->search_target) && $obj->search_target) ? $obj->search_target : trim(Context::get('search_target'));
|
||||
$search_keyword = (isset($obj->search_keyword) && $obj->search_keyword) ? $obj->search_keyword : trim(Context::get('search_keyword'));
|
||||
$search_target = (isset($obj->search_target) && $obj->search_target) ? $obj->search_target : trim(Context::get('search_target') ?? '');
|
||||
$search_keyword = (isset($obj->search_keyword) && $obj->search_keyword) ? $obj->search_keyword : trim(Context::get('search_keyword') ?? '');
|
||||
if($search_target && $search_keyword)
|
||||
{
|
||||
switch($search_target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue