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

Bug #1116 _read_v1() s/$file/$this->file
Submitted: 2004-04-02 07:47 UTC Modified: 2004-04-03 05:53 UTC
From: pear at trullala dot de Assigned: alexmerz
Status: Closed Package: MP3_ID
PHP Version: Irrelevant OS: Win32 (XP)
Roadmaps: (Not assigned)    
Subscription  


 [2004-04-02 07:47 UTC] pear at trullala dot de
Description: ------------ In function _read_v1() (line 412 and 415) filename should be $this->file instead of $file. $file is not defined in this function. Reproduce code: --------------- <?php include("MP3/Id.php"); $filename='c:\non\existent\file.mp3'; $deepstudy=false; $mp3=new MP3_Id($deepstudy); $mp3->read($filename); ?> Expected result: ---------------- Errormessage telling me the file dows not exist. Actual result: -------------- Errormessage (Notice) telling me the variable $file is not defined: PHP Notice: Undefined variable: file in E:\Programme\php5\PEAR\MP3\Id.php on line 412

Comments

 [2004-04-03 05:53 UTC] alexmerz at php dot net
Thank you for your bug report. This issue has already been fixed in the latest released version of the package, which you can download at http://pear.php.net/packages.php