summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-12-09 15:35:48 +0000
committerDries Buytaert <dries@buytaert.net>2009-12-09 15:35:48 +0000
commit5269d3e99bf80491fde95d3d333053497288e14b (patch)
treeedcaacfd894f917abcf8f42aeb70d91e2ac2d69a /includes
parent13dba19e6af207c16235d383e8f1d23d883b6f45 (diff)
downloadbrdo-5269d3e99bf80491fde95d3d333053497288e14b.tar.gz
brdo-5269d3e99bf80491fde95d3d333053497288e14b.tar.bz2
- Patch #384794 by mvc, alduya, intuited: trim white space when inserting data in locales_source().
Diffstat (limited to 'includes')
-rw-r--r--includes/locale.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index beb154ca7..b8126aa77 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -2371,7 +2371,7 @@ function _locale_import_shorten_comments($comment) {
break;
}
}
- return substr($comm, 0, -2);
+ return trim(substr($comm, 0, -2));
}
/**