gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/news submit.php,1.13,1.14


From: tperdue
Subject: [Gforge-commits] gforge/www/news submit.php,1.13,1.14
Date: Wed, 04 Aug 2004 11:18:56 -0500

Update of /cvsroot/gforge/gforge/www/news
In directory db.perdue.net:/home/tperdue/share/dev.gforge.org/www/news

Modified Files:
        submit.php 
Log Message:
RBAC, DELETION, AND FORUM EMAIL GATEWAY

Index: submit.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/news/submit.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- submit.php  25 Nov 2003 02:55:24 -0000      1.13
+++ submit.php  4 Aug 2004 16:18:41 -0000       1.14
@@ -42,7 +42,7 @@
 
                                db_begin();
                                $f=new Forum(group_get_object($sys_news_group));
-                               if (!$f->create($summary,$summary,1,'',0,0)) {
+                               if 
(!$f->create(ereg_replace('[^_\.0-9a-z-]','-', 
strtolower($summary)),$summary,1,'',0,0)) {
                                        db_rollback();
                                        
exit_error('Error',$f->getErrorMessage());
                                }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]