admin/settings/globalsearch.php: "undefined var" fixes

some notices that screwed caused troubles at installation time

Change-Id: I881382cc6208ee0e3025abc2579ac63c727760dd