diff --git a/activation.php b/activation.php index aefb2dd..c650575 100644 --- a/activation.php +++ b/activation.php @@ -31,17 +31,17 @@ $showForm = true; if(isset($_GET['send']) ) { if(!isset($_POST['username']) || empty($_POST['username'])) { - $error = "Enter your Username"; + $error = 'Enter your Username'; } else { $statement = $pdo->prepare("SELECT * FROM users WHERE username = :username"); $result = $statement->execute(array('username' => $_POST['username'])); $user = $statement->fetch(); if($user === false) { - $error = "no user found"; + $error = 'no user found'; } if($user['activated'] == "1"){ - $error = "user already activated!"; + $error = 'user already activated!'; } else { //check if theres a code already $activationcode = random_string();