1. George Papadakis
  2. Bugs
  3. Thursday, 06 December 2012
  4.  Subscribe via email
Please consider changing variable name 'language' for frontend ctransifex download links as it conflicts with some language related code or extensions !!

What happens is that the download controller of ctransifex component gets a value of ZERO for 'language' URL variable because the variable is set by other extension to e.g en-GB and then converted to int

the final result in frontend is an exception with "Something went wrong"

Also maybe replace the exception "Something went wrong" with :
JError::raiseWarning(500, 'Language pack for language with is: '.$langpack_id.' was not found');

Regards
Responses (1)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now
Powered by EasyDiscuss for Joomla!