summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/controls')
-rw-r--r--demos/quickstart/protected/controls/TTextHighlighter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/quickstart/protected/controls/TTextHighlighter.php b/demos/quickstart/protected/controls/TTextHighlighter.php
index d8bb6bba..19b54ad2 100644
--- a/demos/quickstart/protected/controls/TTextHighlighter.php
+++ b/demos/quickstart/protected/controls/TTextHighlighter.php
@@ -23,12 +23,12 @@ class TTextHighlighter extends TWebControl
public function getLanguage()
{
- return $this->getViewState('Language', '');
+ return $this->getViewState('Language', 'php');
}
public function setLanguage($value)
{
- $this->setViewState('Language', $value, '');
+ $this->setViewState('Language', $value, 'php');
}
public function setEnableLineNumbers($value)