mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
small fix for ! search in cf
This commit is contained in:
parent
b57aaf28af
commit
c6a83c93eb
@ -15,7 +15,7 @@
|
|||||||
/**
|
/**
|
||||||
* General storage object of the adressbook
|
* General storage object of the adressbook
|
||||||
*
|
*
|
||||||
* @package adressbook
|
* @package addressbook
|
||||||
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
* @author Cornelius Weiss <egw@von-und-zu-weiss.de>
|
||||||
* @copyright (c) 2005 by 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
|
* @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(!(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);
|
$extra_crit_key = substr($crit_key,1);
|
||||||
$criteria_extra[$extra_crit_key][$this->extra_key] = $extra_crit_key;
|
$criteria_extra[$extra_crit_key][$this->extra_key] = $extra_crit_key;
|
||||||
|
Loading…
Reference in New Issue
Block a user