mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
"fix for bug #2085 - Rev. 27023 PM does no longer save custom fields"
This commit is contained in:
parent
317eda1be1
commit
a5f7d8d4a3
@ -213,7 +213,7 @@ class so_sql_cf extends so_sql
|
||||
$this->db->delete($this->extra_table,$where,__LINE__,__FILE__,$this->app); // just delete them, in case they were previously set
|
||||
if (!$is_multiple) continue;
|
||||
}
|
||||
foreach($is_multiple && !is_array($data[$field]) ? explode(',',$data[$field]) : $data['field'] as $value)
|
||||
foreach($is_multiple && !is_array($data[$field]) ? explode(',',$data[$field]) : (array)$data[$field] as $value)
|
||||
{
|
||||
if (!$this->db->insert($this->extra_table,array($this->extra_value => $value),$where,__LINE__,__FILE__,$this->app))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user