mozilla-b2g/gaia — pull request #10019 by lissyx (2013-05-27 10:11:32+00:00)
Title: Bug 867948 - Ensure findByPhoneNumber callback checks their values

This is legitimate (and it seems meaningfull) for findByPhoneNumber to
return either null or empty array, depending on the case. However, we
must ensure to properly check for those returns values, otherwise we
might blow up in the air.