un-set autocomplete default to empty string rather than null
This commit is contained in:
parent
6de6287663
commit
34f75cfb22
@ -16,7 +16,7 @@ class AutoComplete extends Extension
|
||||
|
||||
if ($event->page_matches("api/internal/autocomplete")) {
|
||||
$limit = (int)($_GET["limit"] ?? 0);
|
||||
$s = $_GET["s"] ?? null;
|
||||
$s = $_GET["s"] ?? "";
|
||||
|
||||
$res = $this->complete($s, $limit);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user