mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
check for typeahead action without php warnings
This commit is contained in:
parent
23c4327382
commit
409df834a3
|
@ -72,7 +72,7 @@ if($fullsearch) {
|
||||||
// Search in Fulltext {{{
|
// Search in Fulltext {{{
|
||||||
if (isset($_GET["query"]) && is_string($_GET["query"])) {
|
if (isset($_GET["query"]) && is_string($_GET["query"])) {
|
||||||
$query = $_GET["query"];
|
$query = $_GET["query"];
|
||||||
if($_GET['action'] == 'typeahead')
|
if(isset($_GET['action']) && ($_GET['action'] == 'typeahead'))
|
||||||
$query .= '*';
|
$query .= '*';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user