From 3d9d294643c1fed7de413fe90b393a950a418583 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 30 Oct 2009 18:51:02 -0400 Subject: [PATCH] autocomplete code expects 'tokens' to be an array --- ansel/lib/Ajax/Imple/LocationAutoCompleter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansel/lib/Ajax/Imple/LocationAutoCompleter.php b/ansel/lib/Ajax/Imple/LocationAutoCompleter.php index 0992cc3b4..1042c15c1 100644 --- a/ansel/lib/Ajax/Imple/LocationAutoCompleter.php +++ b/ansel/lib/Ajax/Imple/LocationAutoCompleter.php @@ -15,7 +15,7 @@ class Ansel_Ajax_Imple_LocationAutoCompleter extends Horde_Ajax_Imple_AutoComple protected function _attach($js_params) { $js_params['indicator'] = $this->_params['triggerId'] . '_loading_img'; - $js_params['tokens'] = ''; + $js_params['tokens'] = array(); $ret = array( 'params' => $js_params, -- 2.11.0