phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc class.contacts_sql.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc class.contacts_sql.inc.php
Date: Tue, 26 Dec 2006 05:41:11 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Dave Hall <skwashd>     06/12/26 05:41:11

Modified files:
        inc            : class.contacts_sql.inc.php 

Log message:
        Fix notice caused by undefined variable $criteria

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.contacts_sql.inc.php?cvsroot=phpgwapi&r1=1.39&r2=1.40

Patches:
Index: class.contacts_sql.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.contacts_sql.inc.php,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -b -r1.39 -r1.40
--- class.contacts_sql.inc.php  19 Dec 2006 13:38:20 -0000      1.39
+++ class.contacts_sql.inc.php  26 Dec 2006 05:41:11 -0000      1.40
@@ -6,7 +6,7 @@
        * @license http://www.gnu.org/licenses/gpl.html GNU General Public 
License
        * @package phpgwapi
        * @subpackage contacts
-       * @version $Id: class.contacts_sql.inc.php,v 1.39 2006/12/19 13:38:20 
sigurdne Exp $
+       * @version $Id: class.contacts_sql.inc.php,v 1.40 2006/12/26 05:41:11 
skwashd Exp $
        * @internal Development of this application was funded by 
http://www.sogrp.com
        */
 
@@ -3607,6 +3607,7 @@
 
                function search($search_fields, $pattern, $data='contact_id')
                {
+                       $criteria = array();
                        if(count($search_fields) > 0 && $pattern)
                        {
                                $index = array_search('per_full_name', 
$search_fields);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]