phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [ 100373 ] Time not entered for history log -0.9.


From: nobody
Subject: [Phpgroupware-tracker] [ 100373 ] Time not entered for history log -0.9.14
Date: Fri, 01 Feb 2002 12:38:00 -0500

Support Request #100373, was updated on 2002-Feb-01 12:38
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=100373&group_id=509

Category: Bug Report
Status: Open
Priority: 5
Summary: Time not entered for history log -0.9.14

By: eric.parusel
Date: 2002-Feb-01 12:38

Message:
Logged In: NO 
Browser: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461)

The time wasn't being entered into the history log for 
the todo application
(and maybe others), so I made this patch:



--- class.historylog.inc.php    Wed Jan 30 16:34:34 
2002
+++ class.historylog.inc.php    Wed Jan 30 17:00:27 
2002
@@ -58,10 +58,10 @@
                        if ($new_value != $old_value)
                        {
                                $this->db->query
("insert into phpgw_history_log (history_record_id,"
-
                                       . "history_appna
me,history_owner,history_status,history_new_value,histo
ry_old_value) "
+                                       . "history_appn
ame,history_owner,history_status,history_new_value,hist
ory_old_value,history_timestamp) "
                                        . "values 
('$record_id','" . $this->appname . "','"
                                        . $GLOBALS
['phpgw_info']['user']['account_id'] . "','$status','"
-                                       . addslashes
($new_value) . "','" . addslashes
($old_value) . "')",__LINE__,__FILE__);
+                                       . addslashes
($new_value) . "','" . addslashes
($old_value) . "','" . $this->db->to_timestamp(time
()) . "')",__LINE__,__FILE__);
                        }
                }

----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=100373&group_id=509



reply via email to

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