small fix for ! search in cf

This commit is contained in:
Cornelius Weiß 2005-11-10 12:22:55 +00:00
parent b57aaf28af
commit c6a83c93eb

View File

@ -15,7 +15,7 @@
/**
* General storage object of the adressbook
*
* @package adressbook
* @package addressbook
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
* @copyright (c) 2005 by Cornelius Weiss <egw@von-und-zu-weiss.de>
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
@ -178,7 +178,7 @@ class socontacts
{
if(!(isset($this->somain->db_data_cols [$crit_key]) || isset($this->somain->db_key_cols [$crit_key])))
{
if(strpos($crit_key,'#') !== false)
if(strpos($crit_key,'#') !== false && $crit_key{0} != '!' )
{
$extra_crit_key = substr($crit_key,1);
$criteria_extra[$extra_crit_key][$this->extra_key] = $extra_crit_key;