diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/locale/locale.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 0d8e720f3..675e15206 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -351,7 +351,7 @@ function locale($string = NULL, $langcode = NULL) { // This is the first use of this string under current Drupal version. Save version // and clear cache, to include the string into caching next time. Saved version is // also a string-history information for later pruning of the tables. - db_query("UPDATE {locales_source} SET version = '%s' WHERE lid = %d LIMIT 1", VERSION, $translation->lid); + db_query("UPDATE {locales_source} SET version = '%s' WHERE lid = %d", VERSION, $translation->lid); cache_clear_all('locale:', 'cache', TRUE); } } |