From 018eec3dfd0551cff5a0c850bea21bdaa9f09e60 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 30 Jul 2013 12:20:14 +0000 Subject: [PATCH] fixed "PHP Fatal error: Unsupported operand types", if no private custom fields exist --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 5d2c0e1f6d..5142893574 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -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)