fixed "PHP Fatal error: Unsupported operand types", if no private custom fields exist

This commit is contained in:
Ralf Becker 2013-07-30 12:20:14 +00:00
parent f41c0d1a72
commit 018eec3dfd

View File

@ -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)