mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02:00
fix Cannot access offset of type string on string
This commit is contained in:
parent
8186874267
commit
057ff20f3a
@ -180,7 +180,7 @@ abstract class Entry extends Transformer
|
|||||||
$id = is_array($data) ? static::get_array($data, $data_id) : $data;
|
$id = is_array($data) ? static::get_array($data, $data_id) : $data;
|
||||||
if(!$app || !$type || !isset($GLOBALS['egw_info']['apps'][$app]) || !$id ||
|
if(!$app || !$type || !isset($GLOBALS['egw_info']['apps'][$app]) || !$id ||
|
||||||
// Simple CF, already there
|
// Simple CF, already there
|
||||||
isset($data[$attrs['field']])
|
is_array($data) && isset($data[$attrs['field']])
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user