summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TBaseValidator.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TBaseValidator.php')
-rw-r--r--framework/Web/UI/WebControls/TBaseValidator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php
index f0d67048..97ba1a8b 100644
--- a/framework/Web/UI/WebControls/TBaseValidator.php
+++ b/framework/Web/UI/WebControls/TBaseValidator.php
@@ -429,7 +429,7 @@ abstract class TBaseValidator extends TLabel implements IValidator
* Renders the validator control.
* @param THtmlWriter writer for the rendering purpose
*/
- protected function renderContents($writer)
+ public function renderContents($writer)
{
if(($text=$this->getText())!=='')
$writer->write($text);