diff --git a/post/invoice.php b/post/invoice.php index c93191f6..eeade755 100644 --- a/post/invoice.php +++ b/post/invoice.php @@ -1414,14 +1414,12 @@ if (isset($_GET['recurring_invoice_email_notify'])) { mysqli_query($mysqli,"UPDATE recurring SET recurring_invoice_email_notify = $recurring_invoice_email_notify WHERE recurring_id = $recurring_id"); if ($recurring_invoice_email_notify) { - $_SESSION['alert_message'] = "EMail Notifications On"; + $_SESSION['alert_message'] = "Email Notifications On"; } else { $_SESSION['alert_type'] = "error"; - $_SESSION['alert_message'] = "EMail Notifications Off"; + $_SESSION['alert_message'] = "Email Notifications Off"; } - - header("Location: " . $_SERVER["HTTP_REFERER"]); } diff --git a/recurring_invoice.php b/recurring_invoice.php index 39ccbf94..697219f2 100644 --- a/recurring_invoice.php +++ b/recurring_invoice.php @@ -98,13 +98,17 @@ if (isset($_GET['recurring_id'])) {