summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/ActiveControls/TAutoComplete.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php
index 080bb410..a886e732 100644
--- a/framework/Web/UI/ActiveControls/TAutoComplete.php
+++ b/framework/Web/UI/ActiveControls/TAutoComplete.php
@@ -263,6 +263,7 @@ class TAutoComplete extends TActiveTextBox implements INamingContainer
protected function getAutoCompleteOptions()
{
$this->getActiveControl()->getClientSide()->setEnablePageStateUpdate(false);
+ $options = array();
if(strlen($string = $this->getSeparator()))
{
$string = strtr($string,array('\t'=>"\t",'\n'=>"\n",'\r'=>"\r"));