Fix create.php error

This commit is contained in:
8chan 2015-05-09 21:15:27 -07:00
parent 7cdd67068d
commit 60eef68e44

View File

@ -21,7 +21,7 @@ $title = $_POST['title'];
$subtitle = $_POST['subtitle']; $subtitle = $_POST['subtitle'];
$username = $_POST['username']; $username = $_POST['username'];
$password = $_POST['password']; $password = $_POST['password'];
$email = $_POST['email']; $email = (isset($_POST['email']) ? $_POST['email'] : '');
$resp = file_get_contents($config['captcha']['provider_check'] . "?" . http_build_query([ $resp = file_get_contents($config['captcha']['provider_check'] . "?" . http_build_query([
'mode' => 'check', 'mode' => 'check',