diff --git a/includes/handlers.inc b/includes/handlers.inc index 4346133..b4cfec2 100644 --- a/includes/handlers.inc +++ b/includes/handlers.inc @@ -861,7 +861,7 @@ class views_many_to_one_helper { $view = &$this->handler->view; $query = &$this->handler->query; - if (!empty($options['require_value'])) { + if (isset($join) && !empty($options['require_value'])) { $join->type = 'INNER'; }