Commit:    c14bb87b01ee504a27531aee4bb27fb37b301032
Author:    Rasmus Lerdorf <[email protected]>         Sat, 16 Jun 2018 
15:11:15 -0700
Parents:   b902b49625e2c99fa61e693cd5b0ee785dbe38fe
Branches:  master

Link:       
http://git.php.net/?p=web/bugs.git;a=commitdiff;h=c14bb87b01ee504a27531aee4bb27fb37b301032

Log:
Quiet some notices

Changed paths:
  M  www/bug.php


Diff:
diff --git a/www/bug.php b/www/bug.php
index e1d69ee..bcddf97 100644
--- a/www/bug.php
+++ b/www/bug.php
@@ -4,10 +4,11 @@
 // Obtain common includes
 require_once '../include/prepend.php';
 
-// Start session 
+// Start session
 session_start();
 
 define('SPAM_REJECT_MESSAGE', 'Your comment looks like SPAM by its content. 
Please consider rewording.');
+$email = null;
 
 // Handle preview
 if (isset($_REQUEST['id']) && $_REQUEST['id'] == 'preview') {
@@ -17,7 +18,7 @@ if (isset($_REQUEST['id']) && $_REQUEST['id'] == 'preview') {
        $bug['modified'] = null;
        $bug['votes'] = 0;
        $bug['assign'] = '';
-       
+
        if (!$bug) {
                redirect('index.php');
        }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to