Skip to content

Commit

Permalink
(Cashier app) Small fix in the email
Browse files Browse the repository at this point in the history
  • Loading branch information
lacimarsik committed Sep 20, 2018
1 parent 65f73a7 commit 25c2fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cashier_app_process.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function findTimezone($connection_4w, $branch_id) {
$humanized_counts = join("; ", $counts_array);
# Email the administrator about the counts for logging purposes
$headers = "From: Cashier App <wordpress@4water.org>" . "\r\n";
wp_mail( 'laci.marsik@gmail.com', 'Cashier App v1.0 - Counts saved' , 'The following counts were just saved for ' . $_POST['class_type'] . ' ' . $_POST['level'] . ', ' . $_POST['date'] . ', ' . $_POST['time'] . ': ' . $humanized_counts, $headers, $attachments = array() );
wp_mail( 'laci.marsik@gmail.com', 'Cashier App v1.0 - Counts saved' , 'The following counts were just saved for ' . $_POST['class_type'] . ' ' . $_POST['level'] . ', ' . $_POST['date'] . ', ' . $_POST['time'] . ': ' . $humanized_counts . '; volunteer: ' . $_POST['name'], $headers, $attachments = array() );
}
$result = countsExist($_POST, $connection_4w, $current_season);
if ($result->num_rows > 0) {
Expand Down

0 comments on commit 25c2fd8

Please sign in to comment.