mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Enforce types of commonly used variables in board
This commit is contained in:
parent
18d1ace121
commit
ea1e0ef624
2 changed files with 8 additions and 9 deletions
|
|
@ -1449,7 +1449,7 @@ class DocumentModel extends Document
|
|||
$query_id = null;
|
||||
$use_division = false;
|
||||
$search_target = $searchOpt->search_target ?? null;
|
||||
$search_keyword = trim($searchOpt->search_keyword ?? '') ?: null;
|
||||
$search_keyword = strval($searchOpt->search_keyword ?? '') ?: null;
|
||||
|
||||
// search
|
||||
if($search_target && $search_keyword)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue