Update Settings.php

Fixing ErrorException [ Warning ]: Invalid argument supplied for foreach() on settings page under Admin CP
Merge pull request #3361 from paquitodev/patch-9

Update Settings.php