Syntax error in write.id3v2.php

Joined:Thu Jun 26, 2008 10:54 pm
Location:Athens, Greece
Syntax error in write.id3v2.php

Post by dionyziz » Thu Jun 26, 2008 10:56 pm

The file write.id3v2.php is missing an opening curly brace after the "else" in line 377, which causes a syntax error on line 403.

I'm using Latest 2.x beta version: 2.0.0-b4 (released Jan 12, 2007) in PHP5.

I fixed this error. This is a patch report so that you can guys fix it for other people as well.

Thank you.

Allan Hansen
getID3() v2 developer
Joined:Sun May 04, 2003 2:22 pm
Location:Holmegaard, Denmark

Post by Allan Hansen » Fri Jun 27, 2008 1:43 am

I don't think one missing brace is enough to fix the id3v2 writer module.

James Heinrich
getID3() v1 developer
Joined:Fri May 04, 2001 4:00 pm
Are you a spambot?:no
Location:Northern Ontario, Canada

Re: Syntax error in write.id3v2.php

Post by James Heinrich » Thu Nov 25, 2010 8:45 pm

Thanks. Fixed in v2.0.0b6