]> source.dussan.org Git - nextcloud-server.git/commit
Guard against null phone number value
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Sun, 31 Jan 2021 22:53:45 +0000 (23:53 +0100)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Fri, 2 Jul 2021 12:27:23 +0000 (14:27 +0200)
commit3ae1ec4d2a4f10f8cc54c4fc933ef1fe9ea9ff25
treef99e7206245d084dabe913d0b4ede51053c3a6d5
parent491c031c0cebd4e10db70f84a94b1446a24b9780
Guard against null phone number value

"parsePhoneNumber()" expects a string, so a TypeError would be thrown if
the phone number value is null.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
lib/private/Accounts/AccountManager.php