mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-08 23:19:04 +01:00
fix for bug [ 955489 ] CustomFields fails: for new entries the info_id was unset
This commit is contained in:
parent
f4361e3ca4
commit
a88c3fb9fd
@ -351,7 +351,7 @@
|
||||
@abstract writes the given $values to InfoLog, a new entry gets created if info_id is not set or 0
|
||||
@syntax write( $values )
|
||||
@param $values array with the data of the log-entry
|
||||
@returns nothing direct, but the info_id gets
|
||||
@return the info_id
|
||||
*/
|
||||
function write($values) // did _not_ ensure ACL
|
||||
{
|
||||
@ -424,7 +424,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$query = "INSERT INTO phpgw_infolog_extra (info_id,info_extra_name,info_extra_value) VALUES ($info_id,'$name','$val')";
|
||||
$query = "INSERT INTO phpgw_infolog_extra (info_id,info_extra_name,info_extra_value) VALUES (".$this->data['info_id'].",'$name','$val')";
|
||||
}
|
||||
$this->db->query($query,__LINE__,__FILE__);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user