diff options
Diffstat (limited to 'framework')
-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 }
-?> +?>
|