forked from extern/egroupware
fixed an other "Fatal error: [] operator not supported for strings" error reported by Bastian Schern
This commit is contained in:
parent
33310098b9
commit
b3454d9983
@ -986,8 +986,9 @@ class so_ldap
|
||||
*/
|
||||
function _evolutionperson2egw(&$contact,$data)
|
||||
{
|
||||
if (is_array($data['category']))
|
||||
if ($data['category'] && is_array($data['category']))
|
||||
{
|
||||
$contact['cat_id'] = array();
|
||||
foreach($data['category'] as $iii => $cat)
|
||||
{
|
||||
if (!is_int($iii)) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user