diff options
author | knut <> | 2008-08-18 23:22:07 +0000 |
---|---|---|
committer | knut <> | 2008-08-18 23:22:07 +0000 |
commit | 8047f7b1482f10690836d8cf553c151e3bf993da (patch) | |
tree | 2d7246de69017c34c9bbe48ee15d14da94842cdb /framework/Web/UI | |
parent | b26ef59b9ffbc9b8dfa15b6456fd0071474b9608 (diff) |
fixed #823
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/WebControls/TListControl.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php index c02f890b..84c23f88 100644 --- a/framework/Web/UI/WebControls/TListControl.php +++ b/framework/Web/UI/WebControls/TListControl.php @@ -4,7 +4,7 @@ *
* @author Qiang Xue <qiang.xue@gmail.com>
* @link http://www.pradosoft.com/
- * @copyright Copyright © 2005-2008 PradoSoft + * @copyright Copyright © 2005-2008 PradoSoft
* @license http://www.pradosoft.com/license/
* @version $Id$
* @package System.Web.UI.WebControls
@@ -792,11 +792,11 @@ abstract class TListControl extends TDataBoundControl implements IDataRenderer */
public function renderContents($writer)
{
+ $this->renderPrompt($writer);
+
if($this->_items)
{
$writer->writeLine();
- if($this->_items->getCount())
- $this->renderPrompt($writer);
$previousGroup=null;
foreach($this->_items as $item)
{
@@ -1067,4 +1067,4 @@ interface IListControlAdapter }
-?> +?>
|