[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.historylog.inc.php, 1.6.2.3.2.8
From: |
skwashd |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.historylog.inc.php, 1.6.2.3.2.8 |
Date: |
Wed, 7 Dec 2005 12:58:00 +0100 |
Update of phpgwapi/inc
Modified Files:
Branch: Version-0_9_16-branch
class.historylog.inc.php lines: +3 -3
Log Message:
handle dates better to fix bug #9774
====================================================
Index: phpgwapi/inc/class.historylog.inc.php
diff -u phpgwapi/inc/class.historylog.inc.php:1.6.2.3.2.7
phpgwapi/inc/class.historylog.inc.php:1.6.2.3.2.8
--- phpgwapi/inc/class.historylog.inc.php:1.6.2.3.2.7 Wed Oct 5 12:37:20 2005
+++ phpgwapi/inc/class.historylog.inc.php Wed Dec 7 11:58:05 2005
@@ -53,7 +53,7 @@
.
"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','"
- . $this->db->db_addslashes($new_value)
. "','" . $this->db->db_addslashes($old_value) . "','" .
$this->db->to_timestamp(time())
+ . $this->db->db_addslashes($new_value)
. "','" . $this->db->db_addslashes($old_value) . "','" .
$this->db->to_timestamp($GLOBALS['phpgw']->datetime->gmtnow)
. "')",__LINE__,__FILE__);
}
}
@@ -142,7 +142,7 @@
return $this->template->fp('out','list');
}
- while (list(,$value) = each($values))
+ foreach ( $values as $value)
{
$this->nextmatchs->template_alternate_row_color(&$this->template);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.historylog.inc.php, 1.6.2.3.2.8,
skwashd <=