mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
fixed "PHP Fatal error: Unsupported operand types", if no private custom fields exist
This commit is contained in:
parent
f41c0d1a72
commit
018eec3dfd
@ -1591,7 +1591,7 @@ window.egw_LAB.wait(function() {
|
||||
$content['private'] = (int) ($content['owner'] && substr($content['owner'],-1) == 'p');
|
||||
$content['owner'] = (string) (int) $content['owner'];
|
||||
$content['cat_id'] = $content['cat_id_tree'] ? $content['cat_id_tree'] : $content['cat_id'];
|
||||
$content += $content['private_cfs'];
|
||||
$content += (array)$content['private_cfs'];
|
||||
unset($content['private_cfs']);
|
||||
|
||||
switch($button)
|
||||
|
Loading…
Reference in New Issue
Block a user