Wrong language constant in a model

Gruz
Phoca Enthusiast
Phoca Enthusiast
Posts: 61
Joined: 26 Dec 2008, 19:09
Location: Ukraine
Contact:

Wrong language constant in a model

Post by Gruz »

PG 4.2.2
Line 193 in components/com_phocagallery/models/category.php
There is a line

Code: Select all

JError::raiseError( 404, JText::_( "COM_PHOCAGALLERY_CATEGORY_IS_UNAUTHORIZED" ) );
it should be

Code: Select all

JError::raiseError( 404, JText::_( "COM_PHOCAGALLERY_ERROR_CATEGORY_IS_UNAUTHORIZED" ) );
Image
Last edited by Gruz on 12 May 2016, 15:39, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Wrong language constant in a model

Post by Jan »

Hi, thank you very much, will be fixed in next version.

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

Re: Wrong language constant in a model

Post by Jan »

Hi, fixed in version 4.3.0

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