mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
gnu-patch #810
This commit is contained in:
parent
6f48cb5363
commit
a573aac782
@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
function delete($record_id)
|
function delete($record_id)
|
||||||
{
|
{
|
||||||
$this->db->query("delete from phpgw_history_log where history_record_id='$record_id' and "
|
$this->db->query("delete from phpgw_history_log where history_record_id='".intval($record_id)."' and "
|
||||||
. "history_appname='" . $this->appname . "'",__LINE__,__FILE__);
|
. "history_appname='" . $this->appname . "'",__LINE__,__FILE__);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -56,7 +56,7 @@
|
|||||||
{
|
{
|
||||||
$this->db->query("insert into phpgw_history_log (history_record_id,"
|
$this->db->query("insert into phpgw_history_log (history_record_id,"
|
||||||
. "history_appname,history_owner,history_status,history_new_value,history_timestamp) "
|
. "history_appname,history_owner,history_status,history_new_value,history_timestamp) "
|
||||||
. "values ('$record_id','" . $this->appname . "','"
|
. "values ('".intval($record_id)."','" . $this->appname . "','"
|
||||||
. $GLOBALS['phpgw_info']['user']['account_id'] . "','$status','"
|
. $GLOBALS['phpgw_info']['user']['account_id'] . "','$status','"
|
||||||
. addslashes($new_value) . "','" . $this->db->to_timestamp(time())
|
. addslashes($new_value) . "','" . $this->db->to_timestamp(time())
|
||||||
. "')",__LINE__,__FILE__);
|
. "')",__LINE__,__FILE__);
|
||||||
@ -96,7 +96,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->db->query("select * from phpgw_history_log where history_appname='"
|
$this->db->query("select * from phpgw_history_log where history_appname='"
|
||||||
. $this->appname . "' and history_record_id='$record_id' $filter $only_show_filter "
|
. $this->appname . "' and history_record_id='".intval($record_id)."' $filter $only_show_filter "
|
||||||
. "$orderby",__LINE__,__FILE__);
|
. "$orderby",__LINE__,__FILE__);
|
||||||
while ($this->db->next_record())
|
while ($this->db->next_record())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user