diff --git a/public_html/lib/user_process.php b/public_html/lib/user_process.php index 0554759..4f12192 100644 --- a/public_html/lib/user_process.php +++ b/public_html/lib/user_process.php @@ -767,7 +767,8 @@ if ($actionStr == "ADDREQUEST" && $mode == "create") { $rt_d = $jdb->fQuery($qry_cntd, "record query error"); if ($rt_d['d_orderdate'] != "") { - throw new Exception("Order already exists"); + $orderDate = DateTime::createFromFormat('Ymd', $rt_d['d_orderdate'])->format('Y-m-d'); + throw new Exception("Order already exists ({$orderDate})"); } // =========================