From cf3031774e6ff31c71bef8021ee3421e3ca20f17 Mon Sep 17 00:00:00 2001 From: Thies Mueller Date: Sat, 9 Jan 2021 23:10:52 +0100 Subject: [PATCH] some pill bages for design --- activation.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();