From: hickert Date: Thu, 2 Nov 2006 09:01:12 +0000 (+0000) Subject: Fixed smarty acl renderer function X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e2a6c913fea8a7c73f7972c07024ae92febc3a75;p=gosa.git Fixed smarty acl renderer function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4992 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/smarty/plugins/block.render.php b/include/smarty/plugins/block.render.php index cfc53cf0b..df8c6e700 100755 --- a/include/smarty/plugins/block.render.php +++ b/include/smarty/plugins/block.render.php @@ -59,8 +59,13 @@ function smarty_block_render($params, $text, &$smarty) } /* Remove select options */ - $from = array("##i","/().*(<\/textarea>)/i","/^(.*.*)$/"); - $to = array(" ","\\1\\2","\\1 \\2"); + $from = array("##i", + "/().*(<\/textarea>)/i", + "/^(.*.*)$/i"); + + $to = array(" ", + "\\1\\2", + "\\1 \\2"); $text = preg_replace($from,$to,$text); return $text;