More PHP Notices removed (part 10) + fixed minor bugs (bad redirect in empire & bad variable name in search)