Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.1

Bug #15973 appendRow" fails when there is no rows
Submitted: 2009-03-03 14:53 UTC
From: ktlacaelel Assigned: ktlacaelel
Status: Closed Package: File_CSV_DataSource
PHP Version: 5.2.4 OS: all
Roadmaps: 0.2.6    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 36 + 42 = ?

 
 [2009-03-03 14:53 UTC] ktlacaelel (Kazuyoshi Tlacaelel)
Description: ------------ originally submitted by "oop.coder" at http://code.google.com/p/php-csv-parser/issues/detail?id=6 Test script: --------------- 1. load a csv file that just has header row 2. try appendRow with the corresponding # of row count in the parameter array 3. fails Expected result: ---------------- should return "true" Actual result: -------------- returns true when a string or number is given. false when array and nothing gets appended!

Comments

 [2009-03-03 14:56 UTC] ktlacaelel (Kazuyoshi Tlacaelel)
-Status: Open +Status: Closed -Assigned To: +Assigned To: ktlacaelel
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/