diff --git a/core/modules/locale/locale.install b/core/modules/locale/locale.install index e36f18b..806db51 100644 --- a/core/modules/locale/locale.install +++ b/core/modules/locale/locale.install @@ -390,7 +390,7 @@ function locale_update_8005() { // will group the strings by language, the 'plid' order will get the // strings in singular/plural order and 'plural' will get them in precise // sequential order needed. - $results = db_query("SELECT s.lid, s.source, s.context, s.location, t.translation, t.plid, t.plural, t.language FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid WHERE s.lid IN (:lids) ORDER BY t.language, t.plid, t.plural", array(':lids' => $plural_lids)); + $results = db_query("SELECT s.lid, s.source, t.translation, t.plid, t.plural, t.language FROM {locales_source} s LEFT JOIN {locales_target} t ON s.lid = t.lid WHERE s.lid IN (:lids) ORDER BY t.language, t.plid, t.plural", array(':lids' => $plural_lids)); // Collect the strings into an array and combine values as we go. $strings = array();