summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TLabel.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TLabel.php')
-rw-r--r--framework/Web/UI/WebControls/TLabel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TLabel.php b/framework/Web/UI/WebControls/TLabel.php
index 89783bd5..a7a25eef 100644
--- a/framework/Web/UI/WebControls/TLabel.php
+++ b/framework/Web/UI/WebControls/TLabel.php
@@ -60,7 +60,7 @@ class TLabel extends TWebControl
* Renders the body content of the label.
* @param THtmlWriter the renderer
*/
- protected function renderContents($writer)
+ public function renderContents($writer)
{
if(($text=$this->getText())==='')
parent::renderContents($writer);