From: Chuck Hagenbuch Date: Sun, 3 Oct 2010 18:29:02 +0000 (-0400) Subject: Fix syntax errors X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d91aa78f8519d3af3af5ff8c015d9d78c0be4230;p=horde.git Fix syntax errors --- diff --git a/turba/lib/Driver/Imsp.php b/turba/lib/Driver/Imsp.php index 299dbc068..f1d1b4aec 100644 --- a/turba/lib/Driver/Imsp.php +++ b/turba/lib/Driver/Imsp.php @@ -307,7 +307,7 @@ class Turba_Driver_Imsp extends Turba_Driver } catch (Turba_Exception $e) {} } - unset($attributes['__type'], unset($attributes['fullname']); + unset($attributes['__type'], $attributes['fullname']); if (!$this->params['contact_ownership']) { unset($attributes['__owner']); } diff --git a/turba/lib/Driver/Kolab/Wrapper/Old.php b/turba/lib/Driver/Kolab/Wrapper/Old.php index fad5de67c..c24afed29 100644 --- a/turba/lib/Driver/Kolab/Wrapper/Old.php +++ b/turba/lib/Driver/Kolab/Wrapper/Old.php @@ -298,7 +298,7 @@ class Turba_Driver_Kolab_Wrapper_Old extends Turba_Driver_Kolab_Wrapper $contact = $this->_buildContact($result); $card = array(); foreach ($fields as $field) { - $card[$field] = isset($contact[$field] + $card[$field] = isset($contact[$field]) ? $contact[$field] : ''; }