Little mistake in mod_phocagallery_image

Phoca Gallery plugins - plugins for Phoca Gallery extension
silvioq
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 02 Jun 2014, 22:00

Little mistake in mod_phocagallery_image

Post by silvioq »

Hi. I think there is a little mistake in mod_phocagallery_image.php version 3.2.3, line 941.

In this line the call to funcion PhocaGalleryImage::setBoxSize, the parameter $image_background_shadow may be "none", but in internal setBoxSize they check for "None" (capitalized).

Phoca Gallery Plugin version: 3.2.6
Phoca Gallery Image Module Version: 3.2.3

Sorry by my basic English

Regards!
Silvio


--- Module phocagallery parameters: ---

Image


---- setBoxSize Code ----

Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Little mistake in mod_phocagallery_image

Post by Jan »

Hi, yes, I think the problem is in the php code where "none" should be - I will take a look at it to fix it for the next version.

Thank you, Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Little mistake in mod_phocagallery_image

Post by Jan »

Hi, fixed in Phoca Gallery 3.2.8

Jan
If you find Phoca extensions useful, please support the project
Post Reply