From e2a6c913fea8a7c73f7972c07024ae92febc3a75 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 2 Nov 2006 09:01:12 +0000 Subject: [PATCH] Fixed smarty acl renderer function git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4992 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/smarty/plugins/block.render.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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; -- 2.30.2