diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Controller/Action/Helper/AutoCompleteScriptaculous.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Controller/Action/Helper/AutoCompleteScriptaculous.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,82 @@ +validateData($data)) { + /** + * @see Zend_Controller_Action_Exception + */ + require_once 'Zend/Controller/Action/Exception.php'; + throw new Zend_Controller_Action_Exception('Invalid data passed for autocompletion'); + } + + $data = (array) $data; + $data = ''; + + if (!$keepLayouts) { + $this->disableLayouts(); + } + + return $data; + } +}