From 50e7fc43c90bcd85eea546db4b0be9e77aaa3bd1 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Wed, 10 Jun 2020 21:55:22 +0300 Subject: [PATCH] Fixed test --- app/controllers/api/teams.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/teams.php b/app/controllers/api/teams.php index a88f8ee2d9..ded2445faa 100644 --- a/app/controllers/api/teams.php +++ b/app/controllers/api/teams.php @@ -341,7 +341,7 @@ $utopia->post('/v1/teams/:teamId/memberships') $mail->AltBody = strip_tags($body->render()); 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(); } } catch (\Exception $error) {