X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=smarty%2Fplugins%2Fmodifier.indent.php;h=394147a29d6a203475f91ba386ff1112dd3ae4ee;hb=94d8eb634c53fea341b849bf13f9224e70db2d16;hp=552c3e1998ce2d97fdbf8e0fed9b567a03e85aa8;hpb=49b2955320c19e4e23097c66e438e51fdc70fc58;p=contagged diff --git a/smarty/plugins/modifier.indent.php b/smarty/plugins/modifier.indent.php index 552c3e1..394147a 100644 --- a/smarty/plugins/modifier.indent.php +++ b/smarty/plugins/modifier.indent.php @@ -14,6 +14,7 @@ * Purpose: indent lines of text * @link http://smarty.php.net/manual/en/language.modifier.indent.php * indent (Smarty online manual) + * @author Monte Ohrt * @param string * @param integer * @param string @@ -21,7 +22,7 @@ */ function smarty_modifier_indent($string,$chars=4,$char=" ") { - return preg_replace('!^!m',str_repeat($char,$chars),$string); + return preg_replace('!^!m',str_repeat($char,$chars),$string); } ?>