[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.historylog.inc.php,1.6.2.1,1.
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.historylog.inc.php,1.6.2.1,1.6.2.2 |
Date: |
Fri, 15 Feb 2002 07:31:57 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv28495/phpgwapi/inc
Modified Files:
Tag: Version-0_9_14-branch
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.2.1
retrieving revision 1.6.2.2
diff -C2 -r1.6.2.1 -r1.6.2.2
*** class.historylog.inc.php 24 Jan 2002 19:26:33 -0000 1.6.2.1
--- class.historylog.inc.php 15 Feb 2002 12:31:55 -0000 1.6.2.2
***************
*** 59,66 ****
{
$this->db->query("insert into phpgw_history_log
(history_record_id,"
! .
"history_appname,history_owner,history_status,history_new_value,history_old_value)
"
. "values ('$record_id','" .
$this->appname . "','"
.
$GLOBALS['phpgw_info']['user']['account_id'] . "','$status','"
! . addslashes($new_value) . "','" .
addslashes($old_value) . "')",__LINE__,__FILE__);
}
}
--- 59,67 ----
{
$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())
! . "')",__LINE__,__FILE__);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.historylog.inc.php,1.6.2.1,1.6.2.2,
Mark A Peters <address@hidden> <=