|
From: James A. <th...@us...> - 2002-02-03 18:34:40
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv26532
Modified Files:
viewtopic.php
Log Message:
Semi-fix for bug #511849 , see comments for more details
Index: viewtopic.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/viewtopic.php,v
retrieving revision 1.170
retrieving revision 1.171
diff -C2 -r1.170 -r1.171
*** viewtopic.php 2002/02/03 18:17:46 1.170
--- viewtopic.php 2002/02/03 18:34:36 1.171
***************
*** 1000,1003 ****
--- 1000,1012 ----
//
+ // Highlight active words (primarily for search)
+ //
+ if( $highlight_active )
+ {
+ $message = preg_replace($highlight_match, $highlight_replace, $message);
+ }
+
+
+ //
// If the board has HTML off but the post has HTML
// on then we process it, else leave it alone
***************
*** 1037,1048 ****
}
$message = make_clickable($message);
-
- //
- // Highlight active words (primarily for search)
- //
- if( $highlight_active )
- {
- $message = preg_replace($highlight_match, $highlight_replace, $message);
- }
//
--- 1046,1049 ----
|