Closed (fixed)
Project:
Localization server
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2008 at 22:27 UTC
Updated:
6 Nov 2008 at 22:41 UTC
Hi,
When I tried to import a .po on 'translate/languages/'. $langcode .'/import' page I got strange mysqli_escape_string() errors. This is because the $langcode doesn't get the real langcode in the l10n_community_import_form(), because you forgot the first argument is the $form_state, not the first parameter.
So, you shold modify
function l10n_community_import_form($langcode, $perm)
to
function l10n_community_import_form($form_state, $langcode, $perm)
in import.inc.
(Sorry, I don't think patch is necessary for a one word, I hope you think so :))
Comments
Comment #1
gábor hojtsyHm, faulty Drupal 6 upgrade. Now added, thanks.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.