diff --git a/AddCustomerNotes.php b/AddCustomerNotes.php index a6f3bb89e..6addecc20 100644 --- a/AddCustomerNotes.php +++ b/AddCustomerNotes.php @@ -42,7 +42,7 @@ if (isset($Id) and $InputError !=1) { $sql = "UPDATE custnotes SET note='" . $_POST['Note'] . "', - date='" . FormatDateForSQL($_POST['NoteDate']) . "', + date='" . $_POST['NoteDate'] . "', href='" . $_POST['Href'] . "', priority='" . $_POST['Priority'] . "' WHERE debtorno ='".$DebtorNo."' @@ -58,7 +58,7 @@ VALUES ('" . $DebtorNo. "', '" . $_POST['Href'] . "', '" . $_POST['Note'] . "', - '" . FormatDateForSQL($_POST['NoteDate']) . "', + '" . $_POST['NoteDate'] . "', '" . $_POST['Priority'] . "')"; $msg = _('The contact notes record has been added'); } @@ -211,12 +211,12 @@ '; } echo '
' . _('Date to Process Journal') . ': | -+ | ' . _('Type') . ': |