Skip to content
Snippets Groups Projects
Commit f53e5005 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #353886 by killes: too many arguments to SQL query in locale import.

parent e895f955
No related branches found
No related tags found
No related merge requests found
......@@ -1368,7 +1368,7 @@ function _locale_import_one_string_db(&$report, $langcode, $source, $translation
}
elseif ($mode == LOCALE_IMPORT_OVERWRITE) {
// Empty translation, remove existing if instructed.
db_query("DELETE FROM {locales_target} WHERE language = '%s' AND lid = %d AND plid = %d AND plural = %d", $translation, $langcode, $lid, $plid, $plural);
db_query("DELETE FROM {locales_target} WHERE language = '%s' AND lid = %d AND plid = %d AND plural = %d", $langcode, $lid, $plid, $plural);
$report['deletes']++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment