Fixed bug with default gateway when no gateways are active
Merge branch 'issue/2233' of github.com:ghost1227/Easy-Digital-Downloads into issue/2122
Pippin doesnt like functions as array keys...