cvs: pear /Structures_DataGrid DataGrid.php
| From: | Mark Wiesemann | Date: | Sat, 17 Jun 2006 09:37:29 +0000 |
| Subject: | cvs: pear /Structures_DataGrid DataGrid.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-40777@lists.php.net to get a copy of this message | ||
wiesemann Sat Jun 17 09:37:29 2006 UTC
Modified files:
/pear/Structures_DataGrid DataGrid.php
Log:
- repair fill(), did not work anymore if there were no columns added yet
http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid.php?r1=1.78&r2=1.79&diff_format=u
Index: pear/Structures_DataGrid/DataGrid.php
diff -u pear/Structures_DataGrid/DataGrid.php:1.78 pear/Structures_DataGrid/DataGrid.php:1.79
--- pear/Structures_DataGrid/DataGrid.php:1.78 Fri Jun 16 18:10:06 2006
+++ pear/Structures_DataGrid/DataGrid.php Sat Jun 17 09:37:29 2006
@@ -18,7 +18,7 @@
// | Mark Wiesemann <wiesemann@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: DataGrid.php,v 1.78 2006/06/16 18:10:06 wiesemann Exp $
+// $Id: DataGrid.php,v 1.79 2006/06/17 09:37:29 wiesemann Exp $
require_once 'PEAR.php';
@@ -74,7 +74,7 @@
* ?>
* </code>
*
- * @version $Revision: 1.78 $
+ * @version $Revision: 1.79 $
* @author Andrew S. Nagy <asnagy@webitecture.org>
* @author Olivier Guilyardi <olivier@samalyse.com>
* @author Mark Wiesemann <wiesemann@php.net>
@@ -680,7 +680,7 @@
}
}
- $this->_renderer->build();
+ $this->_renderer->isBuilt() || $this->build();
$this->_restoreRenderer();
return true;