[Mapbender-commits] r5322 - trunk/mapbender/core
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Jan 13 10:31:38 EST 2010
Author: christoph
Date: 2010-01-13 10:31:38 -0500 (Wed, 13 Jan 2010)
New Revision: 5322
Modified:
trunk/mapbender/core/i18n.php
Log:
return "" if argument is empty string (otherwise a length string from gettext will be returned!)
Modified: trunk/mapbender/core/i18n.php
===================================================================
--- trunk/mapbender/core/i18n.php 2010-01-13 15:29:59 UTC (rev 5321)
+++ trunk/mapbender/core/i18n.php 2010-01-13 15:31:38 UTC (rev 5322)
@@ -17,7 +17,10 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
function _mb ($someString) {
- $arg = array();
+ if ($someString === "") {
+ return "";
+ }
+ $arg = array();
for($i = 1 ; $i < func_num_args(); $i++) {
$arg[] = func_get_arg($i);
}
More information about the Mapbender_commits
mailing list