From 6e557f02f86858a6d919366e34501b5aabaeb930 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 26 Jun 2016 18:52:45 +0200 Subject: [PATCH] fix some scrutinizer "bugs" --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 1a23911055..bb924143a1 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -1616,7 +1616,7 @@ window.egw_LAB.wait(function() { // Make sure op & wildcard are only valid options $op = $query['advanced_search']['operator'] == $op ? $op : 'AND'; unset($query['advanced_search']['operator']); - $wildcard = $query['advanced_search']['meth_select'] == $wildcard ? $wildcard : false; + $wildcard = $query['advanced_search']['meth_select'] == $wildcard ? $wildcard : ''; unset($query['advanced_search']['meth_select']); } //if ($do_email ) $email_only = array('id','owner','tid','n_fn','n_family','n_given','org_name','email','email_home');