PHP Error
Notice: Use of undefined constant ADMIN_EMAIL - assumed 'ADMIN_EMAIL' in
This commit is contained in:
parent
ef7b0c8814
commit
73392a578a
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ if(isset($_POST['confirm'])){
|
|||
$confirm = $_POST['confirm'];
|
||||
|
||||
if($confirm === "yes"){
|
||||
if($mailaddress !== ADMIN_EMAIL){
|
||||
if($mailaddress !== 'ADMIN_EMAIL'){
|
||||
$sql = "DELETE FROM `".DBT_USERS."` WHERE `".DBC_USERS_ID."` = '$id'";
|
||||
|
||||
if(!$result = $db->query($sql)){
|
||||
|
@ -59,4 +59,4 @@ if(isset($_POST['confirm'])){
|
|||
</select>
|
||||
|
||||
<input type="submit" class="button button-small" value="Okay"/>
|
||||
</form>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Reference in a new issue