[Comoblog-commit] comoblog/batch comoblog_batch.php,1.11,1.12
Status: Inactive
Brought to you by:
markwallis
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-15 22:10:52
|
Update of /cvsroot/comoblog/comoblog/batch In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29342 Modified Files: comoblog_batch.php Log Message: 1280303 - Fix bug in resetting of subject in batch script Index: comoblog_batch.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/batch/comoblog_batch.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- comoblog_batch.php 15 Dec 2005 17:02:30 -0000 1.11 +++ comoblog_batch.php 15 Dec 2005 22:10:43 -0000 1.12 @@ -60,11 +60,11 @@ } } - if ( $post['post_mail_subject'] == ""){ - // need to to strip html incase we break across a tag - $title = filter_html($posts[$cnt]['post_mail_body']); - $posts[$cnt]['post_mail_subject'] = substr($title,0,150) ."..." ; - } + if ( $post['post_mail_subject'] == "") { + // need to to strip html incase we break across a tag + $title = filter_html($post['post_mail_body']); + $post['post_mail_subject'] = substr($title,0,150) ."..." ; + } // clean up text and html |