Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing #PSCSX-5799 => I18n field output when no language is specified in URL #3025

Merged
merged 1 commit into from
Jun 23, 2015

Conversation

gleseur
Copy link
Contributor

@gleseur gleseur commented May 15, 2015

API displays
language id="Array" xlink:href="http://127.0.0.1/api/languages/Array"/
instead of actual value when no language is specified as parameter.

One can see in https://github.com/PrestaShop/PrestaShop/blob/1.6/classes/webservice/WebserviceOutputXML.php#L93-L106 that languages is indeed supposed to be an array of ints and not an array with an array inside.

Bug was introduced in 836105f#diff-6f9aef6c863f595ab49368d3ff7608efL479

…able_languages must be an array and not an array of an array
@gleseur gleseur changed the title Fixing I18n field output when no language is specified in URL Fixing #PSCSX-5799 => I18n field output when no language is specified in URL Jun 4, 2015
jnadaud pushed a commit that referenced this pull request Jun 23, 2015
Fixing #PSCSX-5799 => I18n field output when no language is specified in URL
@jnadaud jnadaud merged commit 3bc56af into PrestaShop:1.6 Jun 23, 2015
@jnadaud
Copy link
Contributor

jnadaud commented Jun 23, 2015

Hi,

Thank you for your contribution.

Best regards.

@jnadaud jnadaud added the Bug Type: Bug label Jun 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants