update email

This commit is contained in:
franknstayn
2021-09-15 20:02:51 +08:00
parent d1f5d38480
commit 72773a517a
2 changed files with 2 additions and 3 deletions

View File

@@ -366,7 +366,7 @@ class PaypalController extends Controller
}
if ($other_email[0] != null) {
$other_email = implode(", ", $other_email);
$other_email = implode(", ", array_filter($other_email, function($value) { return !is_null($value) && $value !== ''; }));
$email_cc = "orders@crewsportswear.com" . "," . $other_email;
} else {
$email_cc = "orders@crewsportswear.com";