cvs: pear /Structures_DataGrid/DataGrid Column.php

From: Date: Mon, 07 Feb 2005 15:48:08 +0000
Subject: cvs: pear /Structures_DataGrid/DataGrid Column.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-29177@lists.php.net to get a copy of this message
asnagy Mon Feb 7 10:48:08 2005 EDT Modified files: /pear/Structures_DataGrid/DataGrid Column.php Log: Empty formatter callback definition no longer throws notice (Jessup Ferris) http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/Column.php?r1=1.12&r2=1.13&ty=u Index: pear/Structures_DataGrid/DataGrid/Column.php diff -u pear/Structures_DataGrid/DataGrid/Column.php:1.12 pear/Structures_DataGrid/DataGrid/Column.php:1.13 --- pear/Structures_DataGrid/DataGrid/Column.php:1.12 Mon Jan 10 10:19:54 2005 +++ pear/Structures_DataGrid/DataGrid/Column.php Mon Feb 7 10:48:07 2005 @@ -16,14 +16,14 @@ // | Author: Andrew Nagy <asnagy@webitecture.org> | // +----------------------------------------------------------------------+ // -// $Id: Column.php,v 1.12 2005/01/10 15:19:54 asnagy Exp $ +// $Id: Column.php,v 1.13 2005/02/07 15:48:07 asnagy Exp $ /** * Structures_DataGrid_Column Class * * This class represents a single column for the DataGrid. * - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @access public * @package Structures_DataGrid @@ -169,7 +169,7 @@ // Build the list of parameters $length = strlen($this->formatter) - $size - 2; $parameters = substr($this->formatter, $size + 1, $length); - $parameters = split(',', $parameters); + $parameters = ($parameters === '') ? array() : split(',', $parameters); // Process the parameters $paramList = array();

« previous php.pear.cvs (#29177) next »