From 0ae5d53b441aa05694badc27f6d714d54171797f Mon Sep 17 00:00:00 2001
From: Pol Dell'Aiera <Pol@47194.no-reply.drupal.org>
Date: Mon, 12 Mar 2012 11:18:47 +0100
Subject: [PATCH] 532512: Plural string storage is broken

---
 core/modules/locale/locale.install |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/core/modules/locale/locale.install b/core/modules/locale/locale.install
index 11d1873..94e3af5 100644
--- a/core/modules/locale/locale.install
+++ b/core/modules/locale/locale.install
@@ -386,6 +386,10 @@ function locale_update_8005() {
   }
   $plural_lids = array_unique($plural_lids);
 
+  if (count($plural_lids) == 0) {
+    return;
+  }
+
   // Look up all translations for these source strings. Ordering by language
   // will group the strings by language, the 'plid' order will get the
   // strings in singular/plural order and 'plural' will get them in precise
-- 
1.7.3.4

