diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-09-19 00:08:50 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2004-09-19 00:08:50 +0000 |
commit | 85c0b42e8d878d621c4c3476880844c5ccb5da56 (patch) | |
tree | a3a95fb496706b3b1f3bca19ec7b3be391fc0de2 | |
parent | ec287382ca2a977186d2e1f898f151187113d456 (diff) | |
download | brdo-85c0b42e8d878d621c4c3476880844c5ccb5da56.tar.gz brdo-85c0b42e8d878d621c4c3476880844c5ccb5da56.tar.bz2 |
#10859: Locale string duplication bug.
-rw-r--r-- | includes/locale.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc index c713bdded..3aeb231ff 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -204,7 +204,7 @@ function _locale_import_po($file, $lang, $mode) { db_query("INSERT INTO {locales_source} (location, source) VALUES ('%s', '%s')", $comments, $english); $loc = db_fetch_object(db_query("SELECT lid FROM {locales_source} WHERE source = '%s'", $english)); $lid = $loc->lid; - db_query("INSERT INTO {locales_target} (lid, locale, translation, plid, plural) VALUES (%d, '%s', '%s')", $lid, $lang, $trans, $plid, $key); + db_query("INSERT INTO {locales_target} (lid, locale, translation, plid, plural) VALUES (%d, '%s', '%s', %d, %d)", $lid, $lang, $trans, $plid, $key); if ($trans != '') { $additions++; } |