phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.historylog.inc.php,1.6.2.3,1


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.historylog.inc.php,1.6.2.3,1.6.2.3.2.1
Date: Mon, 05 May 2003 15:22:40 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv18402

Modified Files:
      Tag: Version-0_9_16-branch
        class.historylog.inc.php 
Log Message:
gnu-patch #810


Index: class.historylog.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.historylog.inc.php,v
retrieving revision 1.6.2.3
retrieving revision 1.6.2.3.2.1
diff -C2 -r1.6.2.3 -r1.6.2.3.2.1
*** class.historylog.inc.php    9 Jun 2002 01:30:48 -0000       1.6.2.3
--- class.historylog.inc.php    5 May 2003 19:22:38 -0000       1.6.2.3.2.1
***************
*** 50,54 ****
                function delete($record_id)
                {
!                       $this->db->query("delete from phpgw_history_log where 
history_record_id='$record_id' and "
                                . "history_appname='" . $this->appname . 
"'",__LINE__,__FILE__);
                }
--- 50,54 ----
                function delete($record_id)
                {
!                       $this->db->query("delete from phpgw_history_log where 
history_record_id='".intval($record_id)."' and "
                                . "history_appname='" . $this->appname . 
"'",__LINE__,__FILE__);
                }
***************
*** 60,64 ****
                                $this->db->query("insert into phpgw_history_log 
(history_record_id,"
                                        . 
"history_appname,history_owner,history_status,history_new_value,history_old_value,history_timestamp)
 "
!                                       . "values ('$record_id','" . 
$this->appname . "','"
                                        . 
$GLOBALS['phpgw_info']['user']['account_id'] . "','$status','"
                                        . addslashes($new_value) . "','" . 
addslashes($old_value) . "','" . $this->db->to_timestamp(time())
--- 60,64 ----
                                $this->db->query("insert into phpgw_history_log 
(history_record_id,"
                                        . 
"history_appname,history_owner,history_status,history_new_value,history_old_value,history_timestamp)
 "
!                                       . "values ('".intval($record_id)."','" 
. $this->appname . "','"
                                        . 
$GLOBALS['phpgw_info']['user']['account_id'] . "','$status','"
                                        . addslashes($new_value) . "','" . 
addslashes($old_value) . "','" . $this->db->to_timestamp(time())
***************
*** 101,105 ****
  
                        $this->db->query("select * from phpgw_history_log where 
history_appname='"
!                               . $this->appname . "' and 
history_record_id='$record_id' $filter $only_show_filter "
                                . "$orderby",__LINE__,__FILE__);
                        while ($this->db->next_record())
--- 101,105 ----
  
                        $this->db->query("select * from phpgw_history_log where 
history_appname='"
!                               . $this->appname . "' and 
history_record_id='".intval($record_id)."' $filter $only_show_filter "
                                . "$orderby",__LINE__,__FILE__);
                        while ($this->db->next_record())





reply via email to

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