From 9a8e9934db51370dfa4f4d0005c81016a5bf44ab Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 19 Oct 2009 11:15:45 -0400 Subject: [PATCH] Fix calling contacts api from kronolith's sourceselect pref --- kronolith/templates/prefs/sourceselect.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {} } } -- 2.11.0