1
0
Fork 0
mirror of synced 2024-09-30 09:18:14 +13:00

Fixed test

This commit is contained in:
Eldad Fux 2020-06-09 07:27:09 +03:00
parent 26a133a3f8
commit 98846adfc9

View file

@ -341,7 +341,7 @@ $utopia->post('/v1/teams/:teamId/memberships')
$mail->AltBody = strip_tags($body->render()); $mail->AltBody = strip_tags($body->render());
try { try {
if(APP_MODE_ADMIN === $mode) { // No need in comfirmation when in admin mode if(!APP_MODE_ADMIN === $mode) { // No need in comfirmation when in admin mode
$mail->send(); $mail->send();
} }
} catch (\Exception $error) { } catch (\Exception $error) {