Update email_log_delete.php
This commit is contained in:
parent
71b55c8879
commit
2fa4eed1aa
|
|
@ -43,11 +43,11 @@
|
||||||
$text = $language->get();
|
$text = $language->get();
|
||||||
|
|
||||||
//get posted values, if any
|
//get posted values, if any
|
||||||
$email_uuid = $_REQUEST["id"];
|
$email_log_uuid = $_REQUEST["id"];
|
||||||
|
|
||||||
if ($email_uuid != '') {
|
if ($email_uuid != '') {
|
||||||
$sql = "delete from v_emails ";
|
$sql = "delete from v_email_logs ";
|
||||||
$sql .= "where email_uuid = '".$email_uuid."' ";
|
$sql .= "where email_uuid = '".$email_log_uuid."' ";
|
||||||
if (permission_exists('emails_all') && $_REQUEST['showall'] == 'true') {
|
if (permission_exists('emails_all') && $_REQUEST['showall'] == 'true') {
|
||||||
$sql .= "";
|
$sql .= "";
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -60,6 +60,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//redirect user
|
//redirect user
|
||||||
header("Location: emails.php");
|
header("Location: email_logs.php");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue