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.17,1.18


From: tom
Subject: [Gforge-commits] gforge/www/news submit.php,1.17,1.18
Date: Fri, 22 Oct 2004 11:14:50 -0500

Update of /cvsroot/gforge/gforge/www/news
In directory db.perdue.net:/tmp/cvs-serv10552/www/news

Modified Files:
        submit.php 
Log Message:
Fixed bug [#918] news description length is wrongly checked

Index: submit.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/news/submit.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- submit.php  16 Oct 2004 20:27:59 -0000      1.17
+++ submit.php  22 Oct 2004 16:14:47 -0000      1.18
@@ -56,7 +56,7 @@
 
                                db_begin();
                                $f=new Forum(group_get_object($sys_news_group));
-                               if 
(!$f->create(ereg_replace('[^_\.0-9a-z-]','-', 
strtolower($summary)),$summary,1,'',0,0)) {
+                               if 
(!$f->create(ereg_replace('[^_\.0-9a-z-]','-', 
strtolower($summary)),$details,1,'',0,0)) {
                                        db_rollback();
                                        
exit_error('Error',$f->getErrorMessage());
                                }





reply via email to

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