summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/RunBar.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/controls/RunBar.php')
-rw-r--r--demos/quickstart/protected/controls/RunBar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/quickstart/protected/controls/RunBar.php b/demos/quickstart/protected/controls/RunBar.php
index 0d20e0d4..8990c4c3 100644
--- a/demos/quickstart/protected/controls/RunBar.php
+++ b/demos/quickstart/protected/controls/RunBar.php
@@ -12,7 +12,7 @@ class RunBar extends TTemplateControl
$this->setViewState('PagePath',$value,'');
}
- protected function onPreRender($param)
+ public function onPreRender($param)
{
$pagePath=$this->getPagePath();
$this->RunButton->NavigateUrl="?page=$pagePath";