note 40001 deleted from function.xml-parse by didou
| From: | didou@php.net | Date: | Thu, 03 Feb 2005 19:50:20 +0000 |
| Subject: | note 40001 deleted from function.xml-parse by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-84471@lists.php.net to get a copy of this message | ||
Note Submitter: arobbins art bunker89 dort com
----
Need to change the first if condition to if(trim($data) != '') or it will not evaluate
values of 0.
function _cData( $parser, $data )
{
if( trim( $data ) != '')
{
if (empty($this->pointer[$this->index]))
$this->pointer[$this->index] = trim($data) ;
else
$this->pointer[$this->index] .= $data."\n" ;
}
}