Commit f8d58182 authored by jhodgdon's avatar jhodgdon Committed by tim.plunkett
Browse files

Issue #1700320 by jhodgdon: Fixed PHP notice in view->fix_missing_relationships().

parent 2ddd6bb1
......@@ -614,7 +614,7 @@ function fix_missing_relationships() {
foreach ($this->display_handler->get_option('relationships') as $id => $options) {
$options['table'] = views_move_table($options['table']);
$data = views_fetch_data($options['table'], FALSE);
if (isset($data[$options['field']])) {
if (isset($data[$options['field']]['relationship']['base'])) {
$base_tables[$data[$options['field']]['relationship']['base']] = TRUE;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment