phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] etemplate/inc class.so_sql.inc.php, 1.5.2.1, 1.5.2.2


From: Dave Hall <address@hidden>
Subject: [Phpgroupware-cvs] etemplate/inc class.so_sql.inc.php, 1.5.2.1, 1.5.2.2
Date: Mon, 03 Nov 2003 07:05:08 +0000

Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv3427

Modified Files:
      Tag: Version-0_9_16-branch
        class.so_sql.inc.php 
Log Message:
fix for bug #6426

Index: class.so_sql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.so_sql.inc.php,v
retrieving revision 1.5.2.1
retrieving revision 1.5.2.2
diff -C2 -d -r1.5.2.1 -r1.5.2.2
*** class.so_sql.inc.php        7 Sep 2003 01:26:41 -0000       1.5.2.1
--- class.so_sql.inc.php        3 Nov 2003 07:05:05 -0000       1.5.2.2
***************
*** 328,332 ****
                        foreach($this->db_key_cols as $db_col => $col)
                        {
!                               $keys .= ($keys ? ',':'') . 
"$db_col='".addslashes($this->data[$col])."'";
                        }
                        $this->db->query($sql = "UPDATE $this->table_name SET 
$vals WHERE $keys",__LINE__,__FILE__);
--- 328,332 ----
                        foreach($this->db_key_cols as $db_col => $col)
                        {
!                               $keys .= ($keys ? ' AND ':'') . 
"$db_col='".addslashes($this->data[$col])."'";
                        }
                        $this->db->query($sql = "UPDATE $this->table_name SET 
$vals WHERE $keys",__LINE__,__FILE__);





reply via email to

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