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,1.7


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.historylog.inc.php,1.6,1.7
Date: Fri, 15 Feb 2002 07:32:04 -0500

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

Modified Files:
        class.historylog.inc.php 
Log Message:
GNU Support #100373 - Fix for datetime history not being saved to the table.

Index: class.historylog.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.historylog.inc.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** class.historylog.inc.php    17 Oct 2001 02:33:05 -0000      1.6
--- class.historylog.inc.php    15 Feb 2002 12:32:02 -0000      1.7
***************
*** 56,63 ****
                {
                        $this->db->query("insert into phpgw_history_log 
(history_record_id,"
!                               . 
"history_appname,history_owner,history_status,history_new_value) "
                                . "values ('$record_id','" . $this->appname . 
"','"
                                . $GLOBALS['phpgw_info']['user']['account_id'] 
. "','$status','"
!                               . addslashes($new_value) . 
"')",__LINE__,__FILE__);
                }
  
--- 56,64 ----
                {
                        $this->db->query("insert into phpgw_history_log 
(history_record_id,"
!                               . 
"history_appname,history_owner,history_status,history_new_value,history_timestamp)
 "
                                . "values ('$record_id','" . $this->appname . 
"','"
                                . $GLOBALS['phpgw_info']['user']['account_id'] 
. "','$status','"
!                               . addslashes($new_value) . "','" . 
$this->db->to_timestamp(time())
!                               . "')",__LINE__,__FILE__);
                }
  




reply via email to

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