| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
If user already had phone number of a type, say "work" and then got another number added of type "mobile" the code would crash during the patch request.
| Back | FazBrowse Home | New Git URL |
If we first add a "work" phone number all worked well.
Now howver we add a "mobile" number with a patch request. It would then see that we had any numbers at all since before, then it would try to look up a number of type "mobile" (however only number of type "work" exists) so it would return null.
A few lines further down it would assume phonNumber is a valid object which it's not.