diff --git a/controllers/contact_crtl.php b/controllers/contact_crtl.php index 11f1a35..57daf97 100644 --- a/controllers/contact_crtl.php +++ b/controllers/contact_crtl.php @@ -1,7 +1,7 @@ execute(); $auth = $prep->fetch(PDO::FETCH_ASSOC); $prep->closeCursor(); - return $auth; + return $auth ?: null; } \ No newline at end of file