mirror of
https://github.com/myronblair/tomsjavajive
synced 2026-06-30 17:50:32 -05:00
fix: move loadCustomerEmails to module scope, wire into switchCTab, add emails to tab loop; drop redundant ?: [] in customer-emails.php
This commit is contained in:
@@ -24,4 +24,4 @@ $emails = db()->fetchAll(
|
||||
['cid' => $customerId]
|
||||
);
|
||||
|
||||
echo json_encode(['emails' => $emails ?: []]);
|
||||
echo json_encode(['emails' => $emails]);
|
||||
|
||||
Reference in New Issue
Block a user