Error silencing was removed.
authorJan Schneider <jan@horde.org>
Sun, 3 Oct 2010 18:49:42 +0000 (20:49 +0200)
committerJan Schneider <jan@horde.org>
Sun, 3 Oct 2010 18:58:35 +0000 (20:58 +0200)
framework/Core/lib/Horde.php

index 946b0d1..d4ebb3e 100644 (file)
@@ -1166,8 +1166,6 @@ HTML;
     {
         if (!empty($title)) {
             $title = '&lt;pre&gt;' . preg_replace(array('/\n/', '/((?<!<br)\s{1,}(?<!\/>))/em', '/<br \/><br \/>/', '/<br \/>/'), array('', 'str_repeat("&nbsp;", strlen("$1"))', '&lt;br /&gt; &lt;br /&gt;', '&lt;br /&gt;'), nl2br(htmlspecialchars(htmlspecialchars($title)))) . '&lt;/pre&gt;';
-            error_reporting($old_error);
-
             self::addScriptFile('tooltips.js', 'horde');
         }