[php-blog-cvs] r1174 - trunk/include
A reliable, secure & extensible PHP blog | Not mainstream since 2002
Brought to you by:
garvinhicking,
jhermanns
From: garvinhicking at B. <gar...@ma...> - 2006-04-30 10:43:47
|
Author: garvinhicking Date: 2006-04-30 12:43:51 +0200 (Sun, 30 Apr 2006) New Revision: 1174 Modified: trunk/include/functions_entries.inc.php Log: empty submit Modified: trunk/include/functions_entries.inc.php =================================================================== --- trunk/include/functions_entries.inc.php 2006-04-29 23:11:56 UTC (rev 1173) +++ trunk/include/functions_entries.inc.php 2006-04-30 10:43:51 UTC (rev 1174) @@ -1089,7 +1089,7 @@ } /* WYSIWYG-editor inserts empty ' ' for extended body; this is reversed here */ - if (isset($entry['extended']) && (trim($entry['extended']) == '' || trim($entry['extended']) == '<br />' || trim($entry['extended']) == '<p></p>' || str_replace(array("\r", "\n", "\t", "\0", "<br />", "<p>", "</p>", "<br>"), array('', '', '', '', '', '', '', ''), trim($entry['extended'])))) { + if (isset($entry['extended']) && (trim($entry['extended']) == '' || trim($entry['extended']) == '<br />' || trim($entry['extended']) == '<p></p>' || str_replace(array("\r", "\n", "\t", "\0", "<br />", "<p>", "</p>", "<br>"), array('', '', '', '', '', '', '', ''), trim($entry['extended'])) == '')) { $entry['extended'] = ''; } |