[Phpslash-commit] CVS: phpslash-ft/class Comment.class,1.25,1.26
Brought to you by:
joestewart,
nhruby
From: Joe S. <joe...@us...> - 2002-05-13 18:43:26
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv14865/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.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** Comment.class 28 Apr 2002 02:08:26 -0000 1.25 --- Comment.class 13 May 2002 18:43:23 -0000 1.26 *************** *** 114,118 **** date_format(date,\"%W, %M %d \@%h:%i%p\") AS time FROM psl_comment ! WHERE story_id = '$ary[story_id]'"; if ($this->order == "DESC") { $query .= " ORDER BY date DESC"; --- 114,121 ---- date_format(date,\"%W, %M %d \@%h:%i%p\") AS time FROM psl_comment ! WHERE story_id = '$ary[story_id]' "; ! if( $ary['comment_id']) { ! $query .= "AND comment_id >= '$ary[comment_id]' "; ! } if ($this->order == "DESC") { $query .= " ORDER BY date DESC"; *************** *** 552,556 **** if ($ary['subject'] == "") { $ary['subject'] = pslgetText("No Subject Given"); ! } else { $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['subject'] = pslgetText("Re: ") . $ary[subject]; } |