1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

Bugtracker #5197 - [newpage=xxx] didn't work in content print

This commit is contained in:
e107steved
2011-04-18 12:34:39 +00:00
parent ce0fc19280
commit 321a6d1b95

View File

@@ -25,7 +25,7 @@ function print_item($id)
$row['content_heading'] = $tp -> toHTML($row['content_heading']);
$row['content_subheading'] = $tp -> toHTML($row['content_subheading']);
$row['content_text'] = $tp -> replaceConstants($row['content_text']);
$row['content_text'] = preg_replace("/\{EMAILPRINT\}|\[newpage\]/", "", $tp -> toHTML($row['content_text'], TRUE));
$row['content_text'] = preg_replace("/\{EMAILPRINT\}|\[newpage(?:\=.*?){0,1}\]/", "", $tp -> toHTML($row['content_text'], TRUE));
$authordetails = $aa -> getAuthor($row['content_author']);
$row['content_datestamp'] = $con -> convert_date($row['content_datestamp'], "long");