[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-cvs
Subject: [PEAR-CVS] cvs: pear /Structures_DataGrid/DataGrid Renderer.php
From: "Olivier Guilyardi" <olivierg () php ! net>
Date: 2007-10-31 19:42:02
Message-ID: cvsolivierg1193859722 () cvsserver
[Download RAW message or body]
olivierg Wed Oct 31 19:42:02 2007 UTC
Modified files:
/pear/Structures_DataGrid/DataGrid Renderer.php
Log:
fix bad bug introduced with object preserving
http://cvs.php.net/viewvc.cgi/pear/Structures_DataGrid/DataGrid/Renderer.php?r1=1.79&r2=1.80&diff_format=u
Index: pear/Structures_DataGrid/DataGrid/Renderer.php
diff -u pear/Structures_DataGrid/DataGrid/Renderer.php:1.79 \
pear/Structures_DataGrid/DataGrid/Renderer.php:1.80
--- pear/Structures_DataGrid/DataGrid/Renderer.php:1.79 Wed Oct 31 16:56:25 2007
+++ pear/Structures_DataGrid/DataGrid/Renderer.php Wed Oct 31 19:42:02 2007
@@ -36,9 +36,9 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * CSV file id: $Id: Renderer.php,v 1.79 2007/10/31 16:56:25 olivierg Exp $
+ * CSV file id: $Id: Renderer.php,v 1.80 2007/10/31 19:42:02 olivierg Exp $
*
- * @version $Revision: 1.79 $
+ * @version $Revision: 1.80 $
* @package Structures_DataGrid
* @category Structures
* @license http://opensource.org/licenses/bsd-license.php New BSD License
@@ -132,7 +132,7 @@
* - extraVars
* - excludeVars
*
- * @version $Revision: 1.79 $
+ * @version $Revision: 1.80 $
* @author Olivier Guilyardi <olivier@samalyse.com>
* @author Mark Wiesemann <wiesemann@php.net>
* @author Sascha Grossenbacher <saschagros@bluewin.ch>
@@ -844,7 +844,7 @@
// Currently, no formatting is performed on object records.
// These are not converted to indexed arrays, so that some
// renderer drivers might fail to process them.
- if (is_array($rec) or !$this->hasFeature('objectPreserving')) {
+ if (is_array($chunk[$rec]) or !$this->hasFeature('objectPreserving')) {
$content = array();
$col = 0;
foreach ($this->_columnObjects as $column) {
--
PEAR CVS Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic