summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorknut <>2008-08-18 23:22:07 +0000
committerknut <>2008-08-18 23:22:07 +0000
commit8047f7b1482f10690836d8cf553c151e3bf993da (patch)
tree2d7246de69017c34c9bbe48ee15d14da94842cdb /framework/Web
parentb26ef59b9ffbc9b8dfa15b6456fd0071474b9608 (diff)
fixed #823
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/WebControls/TListControl.php8
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 &copy; 2005-2008 PradoSoft
+ * @copyright Copyright &copy; 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
}
-?>
+?>