Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv22872/phpslash-ft/class
Modified Files:
Comment.class
Log Message:
bugfix [ 554671 ] Problem with Re:'s
Index: Comment.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Comment.class,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** Comment.class 13 May 2002 18:43:23 -0000 1.26
--- Comment.class 13 May 2002 19:05:37 -0000 1.27
***************
*** 555,559 ****
if ($ary['subject'] == "") {
$ary['subject'] = pslgetText("No Subject Given");
! } elseif( !preg_match("/Re\:/i",$ary['subject'])) {
$ary['subject'] = pslgetText("Re: ") . $ary[subject];
}
--- 555,559 ----
if ($ary['subject'] == "") {
$ary['subject'] = pslgetText("No Subject Given");
! } elseif( (!preg_match("/Re\:/i",$ary['subject'])) && ($ary['parent_id'])) {
$ary['subject'] = pslgetText("Re: ") . $ary[subject];
}
|