Index: l10n_community/import.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/l10n_server/l10n_community/Attic/import.inc,v
retrieving revision 1.1.2.5.2.12
diff -u -p -r1.1.2.5.2.12 import.inc
--- l10n_community/import.inc	30 Sep 2009 12:17:08 -0000	1.1.2.5.2.12
+++ l10n_community/import.inc	8 Oct 2009 07:16:53 -0000
@@ -313,7 +313,9 @@ function _l10n_community_import_one_stri
   }
   
   // Trim translation (we will apply source string based whitespace later).
-  $value['msgstr'] = trim($value['msgstr']);
+  if (is_string($value['msgstr'])) {
+    $value['msgstr'] = trim($value['msgstr']);
+  }
   
   if (!empty($value['msgid']) && !empty($value['msgstr'])) {
     // We only save non-empty translations/suggestions.
