Warning: sort() expects parameter 1 to be array, null given in mobile_tools_init() (line 139 of /Users/johnrobens/NetBeansProjects/smartservicescrc/web/sites/all/modules/contrib/mobile_tools/mobile_tools.module).

Patch attached.

Comments

StatusFileSize
new651 bytes

Array undefined error. Fix as well. Updated patch.

Notice: Undefined variable: tmp in mobile_tools_init() (line 141 of /web/sites/all/modules/contrib/mobile_tools/mobile_tools.module).