PR review changes

This commit is contained in:
Matej Bačo committed 2024-07-03 09:35:56 +00:00
1 parent 2262d516f1
commit b5fc9d5789
1 file changed
+1 -1
+1 -1
View File
@@ -3453,7 +3453,7 @@ App::post('/v1/account/verification/phone')
}
$phone = $user->getAttribute('phone');
if (!$phone) {
if (empty($phone)) {
throw new Exception(Exception::USER_PHONE_NOT_FOUND);
}