Fixed isEmail attribute
authorMarcel Werk <burntime@woltlab.com>
Mon, 27 Jan 2014 14:39:30 +0000 (15:39 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 27 Jan 2014 14:39:30 +0000 (15:39 +0100)
wcfsetup/install/files/lib/system/request/LinkHandler.class.php
wcfsetup/install/files/lib/system/template/plugin/LinkBlockTemplatePlugin.class.php

index c942d03962699d0da2aa6b573a3f8a27c2b6c641..372e7b1292c1a1cb242d67640c75d91ba4cb86a4 100644 (file)
@@ -73,6 +73,7 @@ class LinkHandler extends SingletonFactory {
                if (isset($parameters['isEmail']) && (bool)$parameters['isEmail']) {
                        $parameters['forceFrontend'] = true;
                        $parameters['appendSession'] = false;
+                       unset($parameters['isEmail']);
                }
                
                if (isset($parameters['application'])) {
index 43c82bc22bf2367e900370218029fc343086a7d4..79226ad2df74a524394b66612ba630f470d7c8d9 100644 (file)
@@ -37,7 +37,7 @@ class LinkBlockTemplatePlugin implements IBlockTemplatePlugin {
                }
                
                if (isset($tagArgs['isEmail']) && $tagArgs['isEmail']) {
-                       $tagArgs['encode'] = true;
+                       $tagArgs['encode'] = false;
                }
                
                if (isset($tagArgs['encode']) && !$tagArgs['encode']) {