mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
removed warning
This commit is contained in:
@@ -50,7 +50,8 @@ function smarty_block_textformat($params, $content, &$smarty)
|
||||
|
||||
// split into paragraphs
|
||||
$paragraphs = preg_split('![\r\n][\r\n]!',$content);
|
||||
|
||||
$output = '';
|
||||
|
||||
foreach($paragraphs as $paragraph) {
|
||||
if($paragraph == '') {
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user