logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

cvs: peclweb /public_html/bugs/include functions.inc: msg#00126

Subject: cvs: peclweb /public_html/bugs/include functions.inc
pajoye          Mon Nov 27 00:22:25 2006 UTC

  Modified files:              
    /peclweb/public_html/bugs/include   functions.inc 
  Log:
  - fix the annoyances, temp fix
    what's about force login to report bugs? email validation and such...
  
  
http://cvs.php.net/viewvc.cgi/peclweb/public_html/bugs/include/functions.inc?r1=1.21&r2=1.22&diff_format=u
Index: peclweb/public_html/bugs/include/functions.inc
diff -u peclweb/public_html/bugs/include/functions.inc:1.21 
peclweb/public_html/bugs/include/functions.inc:1.22
--- peclweb/public_html/bugs/include/functions.inc:1.21 Sun Nov 26 02:16:51 2006
+++ peclweb/public_html/bugs/include/functions.inc      Mon Nov 27 00:22:25 2006
@@ -15,7 +15,7 @@
  * @package   Bugs
  * @copyright Copyright (c) 1997-2004 The PHP Group
  * @license   http://www.php.net/license/3_0.txt  PHP License
- * @version   $Id: functions.inc,v 1.21 2006/11/26 02:16:51 pajoye Exp $
+ * @version   $Id: functions.inc,v 1.22 2006/11/27 00:22:25 pajoye Exp $
  */
 
 
@@ -975,6 +975,13 @@
 {
     global $bug, $dbh, $types;
 
+    if (!empty($in['sdesc'] && strcasecmp($in['sdesc'],'None')) == 0) {
+               exit('.');
+       }
+    if (!empty($in['php_os'] && strcasecmp($in['php_os'],'None')) == 0) {
+               exit('.');
+       }
+
     $errors = array();
     if (empty ($in['package_name']) || $in['package_name'] == 'none') {
         $errors[] = 'Please select an appropriate bug type.';



<Prev in Thread] Current Thread [Next in Thread>