[geeklog-cvs] geeklog: Fixed censor mode problems (bug# 0001392)

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Oct 3 10:36:01 EDT 2011


changeset 8437:8e45ca6587e3
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/8e45ca6587e3
user: Tom <websitemaster at cogeco.net>
date: Mon Oct 03 10:35:12 2011 -0400
description:
Fixed censor mode problems (bug# 0001392)

diffstat:

 public_html/lib-common.php |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 1af4c6807811 -r 8e45ca6587e3 public_html/lib-common.php
--- a/public_html/lib-common.php	Mon Oct 03 09:04:35 2011 +0200
+++ b/public_html/lib-common.php	Mon Oct 03 10:35:12 2011 -0400
@@ -2909,12 +2909,12 @@
             switch( $_CONF['censormode'])
             {
                 case 1: # Exact match
-                    $RegExPrefix = '(\s*)';
-                    $RegExSuffix = '(\W*)';
+                    $RegExPrefix = '(\s)';
+                    $RegExSuffix = '(\W)';
                     break;
 
                 case 2: # Word beginning
-                    $RegExPrefix = '(\s*)';
+                    $RegExPrefix = '(\s)';
                     $RegExSuffix = '(\w*)';
                     break;
 



More information about the geeklog-cvs mailing list