phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] addressbook/inc class.ipc_addressbook.inc.php


From: Johan Gunnarsson
Subject: [Phpgroupware-cvs] addressbook/inc class.ipc_addressbook.inc.php
Date: Fri, 03 Aug 2007 19:51:34 +0000

CVSROOT:        /sources/phpgroupware
Module name:    addressbook
Changes by:     Johan Gunnarsson <johang>       07/08/03 19:51:34

Modified files:
        inc            : class.ipc_addressbook.inc.php 

Log message:
        Fix faulty SQL query

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/addressbook/inc/class.ipc_addressbook.inc.php?cvsroot=phpgroupware&r1=1.4&r2=1.5

Patches:
Index: class.ipc_addressbook.inc.php
===================================================================
RCS file: /sources/phpgroupware/addressbook/inc/class.ipc_addressbook.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- class.ipc_addressbook.inc.php       15 May 2005 13:34:29 -0000      1.4
+++ class.ipc_addressbook.inc.php       3 Aug 2007 19:51:34 -0000       1.5
@@ -7,7 +7,7 @@
        * @license     http://www.fsf.org/licenses/gpl.html GNU General Public 
License
        * @package     phpgwapi
        * @subpackage  ipc
-       * @version     $Id: class.ipc_addressbook.inc.php,v 1.4 2005/05/15 
13:34:29 skwashd Exp $
+       * @version     $Id: class.ipc_addressbook.inc.php,v 1.5 2007/08/03 
19:51:34 johang Exp $
        */
 
 
@@ -277,10 +277,10 @@
                                        ' (c.owner = '.$owner.')'.
                                        ' AND'.
                                        ' ('.
-                                       '  (ca.modified_on '.$lastmod.') OR '.
-                                       '  (cc.modified_on '.$lastmod.') OR '.
-                                       '  (cn.modified_on '.$lastmod.') OR '.
-                                       '  (cp.modified_on '.$lastmod.') '.
+                                       '  (ca.modified_on > '.$lastmod.') OR '.
+                                       '  (cc.modified_on > '.$lastmod.') OR '.
+                                       '  (cn.modified_on > '.$lastmod.') OR '.
+                                       '  (cp.modified_on > '.$lastmod.') '.
                                        ' ) '.
                                        'ORDER BY c.contact_id';
                        }




reply via email to

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