rewrite
This commit is contained in:
1 parent
cb81230798
commit
a48be33024
18 files changed
+531
-195
No files matched your search
@@ -24,7 +24,7 @@ try {
|
||||
session_start();
|
||||
if ($_SESSION['log'] == 1 && $_SESSION['admin']) {
|
||||
$mailuserID = $_POST['mailuserID'];
|
||||
$eintrag = "UPDATE `mailserver`.`virtual_users` SET `active`='1' WHERE `id` LIKE :mailuserID";
|
||||
$eintrag = "UPDATE `accounts` SET `enabled`='1' WHERE `id` LIKE :mailuserID";
|
||||
$sth = $dbh->prepare($eintrag);
|
||||
$sth->execute(array(':mailuserID' => $mailuserID));
|
||||
header("Location: ../admin.php?success=1");
|
||||
|
||||
Reference in new issue
Block a user