Permalink
Browse files

Fixed undefined variable for guest posting when email address is not …

…required.
  • Loading branch information...
Quy committed Mar 24, 2011
1 parent bec93eb commit 926f3dc40d75a5f3bd8b2345c56de74c1e7677ff
Showing with 1 addition and 2 deletions.
  1. +1 −2 post.php
View
@@ -96,6 +96,7 @@
{
$username = pun_trim($_POST['req_username']);
$email = strtolower(trim(($pun_config['p_force_guest_email'] == '1') ? $_POST['req_email'] : $_POST['email']));
$banned_email = false;
// Load the register.php/profile.php language files
require PUN_ROOT.'lang/'.$pun_user['language'].'/prof_reg.php';
@@ -119,8 +120,6 @@
$banned_email = true; // Used later when we send an alert email
}
else
$banned_email = false;
}
}

0 comments on commit 926f3dc

Please sign in to comment.