From 05b64845c4d2026ace77f6e467f14c82cf3cf1d2 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 23 Apr 2014 00:14:05 +0200 Subject: [PATCH] Fixed word wrap issue --- .../plugin/TableWordwrapModifierTemplatePlugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/template/plugin/TableWordwrapModifierTemplatePlugin.class.php b/wcfsetup/install/files/lib/system/template/plugin/TableWordwrapModifierTemplatePlugin.class.php index b062761785..f820233679 100644 --- a/wcfsetup/install/files/lib/system/template/plugin/TableWordwrapModifierTemplatePlugin.class.php +++ b/wcfsetup/install/files/lib/system/template/plugin/TableWordwrapModifierTemplatePlugin.class.php @@ -29,7 +29,7 @@ class TableWordwrapModifierTemplatePlugin implements IModifierTemplatePlugin { $substrings = explode(' ', $string); foreach ($substrings as $substring) { - if (!empty($result)) $result .= ' '; + if ($result !== '') $result .= ' '; $length = mb_strlen($substring); if ($length > $width) { -- 2.20.1