Modified module for Drupal 7 error
Notice: Trying to get the property of non-object in the context_geoip_condition-> execute () function (line 50 in the /var/www/mailfox/sites/all/modules/context_geoip/context_geoip_condition.inc file)
code from line 45
function execute() { if ($this->condition_used()) { $record = geoip_city(); foreach ($this->get_contexts() as $context) { $city_names = $this->fetch_from_context($context, 'values'); if (in_array($record->city, $city_names)) { $this->condition_met($context); } } } } }