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

Bug #16271 hasStream() always returns false
Submitted: 2009-05-30 18:35 UTC
From: davidpersson Assigned: tstarling
Status: Closed Package: File_Ogg (version 0.3.0)
PHP Version: Irrelevant OS: Darwin
Roadmaps: (Not assigned)    
Subscription  


 [2009-05-30 18:35 UTC] davidpersson (David Persson)
Description: ------------ There's a typo on line 518 of Ogg.php: foreach ($this->_stream as $stream) { shoudl be: foreach ($this->_streams as $stream) { Test script: --------------- $Ogg = new File_Ogg('/tmp/vorbis_file.ogg'); $Ogg->hasStream(OGG_STREAM_VORBIS) Expected result: ---------------- true Actual result: -------------- false

Comments

 [2009-06-02 20:25 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Verified
Nice find, David!
 [2009-06-02 20:25 UTC] doconnor (Daniel O'Connor)
-Assigned To: +Assigned To: tstarling@wikime
 [2009-06-02 20:25 UTC] doconnor (Daniel O'Connor)
-Assigned To: tstarling@wikime +Assigned To: tstarling
 [2011-05-03 09:37 UTC] doconnor (Daniel O'Connor)
-Status: Verified +Status: Closed
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Fixed in r310727 - qa
 [2011-05-03 09:38 UTC] doconnor (Daniel O'Connor)