diff options
author | xue <> | 2006-10-29 12:53:33 +0000 |
---|---|---|
committer | xue <> | 2006-10-29 12:53:33 +0000 |
commit | b4403995107c4440b4e19dd5e5e8385e0eac2a5a (patch) | |
tree | ff5f709433ad4695f3ffd9726c4230efb60eacd7 /framework/Web/UI/WebControls | |
parent | 5bd4f1f34bb08469d3e18727f9d39c53037c6424 (diff) |
merge from 3.0 branch till 1481.
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r-- | framework/Web/UI/WebControls/TRepeater.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TRepeater.php b/framework/Web/UI/WebControls/TRepeater.php index 357a8730..046e0a88 100644 --- a/framework/Web/UI/WebControls/TRepeater.php +++ b/framework/Web/UI/WebControls/TRepeater.php @@ -364,10 +364,8 @@ class TRepeater extends TDataBoundControl implements INamingContainer */
public function render($writer)
{
- if($this->_items && $this->_items->getCount())
+ if($this->_items && $this->_items->getCount() || $this->_emptyTemplate!==null)
$this->renderContents($writer);
- else if($this->_emptyTemplate!==null)
- parent::render($writer);
}
/**
|