FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18149&edit=1

ID: 18149
Comment by: asaf@lingnu.com
Reported By: asaf at lingnu dot com
Summary: Incorrect type check triggers other bugs
Status: Open
Type: Bug
Package: Structures_DataGrid
Operating System: linux
Package Version: 0.9.1dev1
PHP Version: 5.3.4
Roadmap Versions:
New Comment:

Some more details:

the file is DataGrid.php

Starting at line 820 ( for version 0.9.1dev1 (beta))


Previous Comments:
------------------------------------------------------------------------

[2010-12-27 12:14:17] asaf

Description:
------------
/* Is a renderer driver already loaded and does it exactly match
* the driver class name that corresponds to $type ? */
//FIXME: is this redundant with the $rendererType property ?
if (!isset($this->_renderer)
or !is_a($this->_renderer,
"Structures_DataGrid_Renderer_$type")) {
/* No, then load the right driver */

FIX :

replace line :
"Structures_DataGrid_Renderer_".$this->_rendererType)) {

------------------------------------------------------------------------

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 27, '10 at 11:16a
activeDec 27, '10 at 12:02p
posts2
users2
websitepear.php.net

2 users in discussion

Asaf: 1 post Asaf: 1 post

People

Translate

site design / logo © 2022 Grokbase