PHP Notice fix
php warning fix
fixed notice on dashboard
Merge pull request #169 from GrabNetworks/regressions

Fixed Notices and PHP errors