Admin: Fix smarty error on malformed if in admin header