Skip to content
This repository was archived by the owner on Sep 23, 2022. It is now read-only.

Commit 81387de

Browse files
author
nerdofcode
committed
Fixed the warning
1 parent 6e552aa commit 81387de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
$_SESSION['status'] = "1";
5252
header("Location: /options.php");
5353
die();
54-
}else if(! $_SESSION['status']){
54+
}else if(!empty($user_name)){
5555
echo "<p class=\"false\" style=\"color:red;text-align:center;\">Please re-enter creds.</p>";
5656
}
5757
mysqli_close($db);

0 commit comments

Comments
 (0)