From: Michael J. Rubinsky Date: Mon, 19 Oct 2009 15:15:45 +0000 (-0400) Subject: Fix calling contacts api from kronolith's sourceselect pref X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9a8e9934db51370dfa4f4d0005c81016a5bf44ab;p=horde.git Fix calling contacts api from kronolith's sourceselect pref --- diff --git a/kronolith/templates/prefs/sourceselect.inc b/kronolith/templates/prefs/sourceselect.inc index afd19f325..828a4ba24 100644 --- a/kronolith/templates/prefs/sourceselect.inc +++ b/kronolith/templates/prefs/sourceselect.inc @@ -7,7 +7,7 @@ if ($registry->hasMethod('contacts/sources')) { $readable = null; } try { - $writeable = $registry->call('contacts/sources', true); + $writeable = $registry->call('contacts/sources', array(true)); } catch (Horde_Exception $e) { $writeable = null; } @@ -69,7 +69,7 @@ if ($registry->hasMethod('contacts/sources')) { if (is_array($readable)) { foreach (array_keys($readable) as $source) { try { - $search_fields[$source] = $registry->call('contacts/fields', $source); + $search_fields[$source] = $registry->call('contacts/fields', array($source)); } catch (Horde_Exception $e) {} } }