Changeset 1273 in ExiteCMS for trunk/includes/forum_functions_include.php
- Timestamp:
- 02/12/08 14:21:36 (4 years ago)
- File:
-
- 1 edited
-
trunk/includes/forum_functions_include.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/forum_functions_include.php
r1271 r1273 400 400 $result = dbquery("SELECT DISTINCT tag FROM ".$db_prefix."wiki_pages"); 401 401 while ($data = dbarray($result)) { 402 $search[] = "/ \b(".$data['tag'].")\b/is";403 $replace[] = " [wiki]\\1[/wiki]";402 $search[] = "/(\b".$data['tag']."\b)/is"; 403 $replace[] = " [wiki]\\1[/wiki] "; 404 404 } 405 405 $message = preg_replace($search, $replace, $message);
Note: See TracChangeset
for help on using the changeset viewer.
