PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_CDDB » Bug #7526

Formatted disc length is incorrect

Details

Submitted2006-04-30 15:35 UTC
Fromkristof dot coomans at telenet dot be
StatusDuplicate
PackageNet_CDDB
PHP Version4.4.2
OSWindows XP
Roadmaps(Not assigned)

Comments

[2006-04-30 15:35 UTC] kristof dot coomans at telenet dot be

Description:
------------
The minutes in the formatted disc length returned by NET_CDDB_Disc::getDiscLength are wrong.

Test script:
---------------
Replace the code
$minutes = floor($this->_length % (60 * 60));
with:
$minutes = floor(($this->_length % (60 * 60))/60);

[2006-05-30 12:41 UTC] superwormy at php dot net

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/Net_CDDB

Fixed in release 0.2.0