Problem when quotation marks are in the album name - v3.0.3

davidsickmiller

Joined: 2008-05-19
Posts: 1
Posted: Tue, 2008-07-01 05:46

Hi,

I've been using G2 Image Chooser for over a year, and it's quite nice. I just upgraded to version 3.0.3, and I noticed that album names containing quotation marks cause problems. I think the problem can be fixed by adding the following line to g2image.php:

			$album_title = preg_replace("/\"/","\\\"",$album_title);

I haven't checked the SVN/CVS, so I apologize if this bug is already fixed.

Thanks,
David