autocomplete code expects 'tokens' to be an array
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 30 Oct 2009 22:51:02 +0000 (18:51 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 30 Oct 2009 23:12:44 +0000 (19:12 -0400)
ansel/lib/Ajax/Imple/LocationAutoCompleter.php

index 0992cc3..1042c15 100644 (file)
@@ -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,