fix undeclared variables or wrong variable names (/include)

This commit is contained in:
rabuzarus 2018-02-11 22:13:29 +01:00
parent ab7646016b
commit 26fd6b1c33
2 changed files with 17 additions and 9 deletions

View file

@ -716,7 +716,7 @@ function navbar_complete(App $a) {
// check if searching in the local global contact table is enabled
$localsearch = Config::get('system','poco_local_search');
$search = $prefix.notags(trim($_REQUEST['search']));
$search = notags(trim($_REQUEST['search']));
$mode = $_REQUEST['smode'];
// don't search if search term has less than 2 characters