Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f8d58182
Commit
f8d58182
authored
Jul 27, 2012
by
jhodgdon
Committed by
tim.plunkett
Oct 21, 2012
Browse files
Issue
#1700320
by jhodgdon: Fixed PHP notice in view->fix_missing_relationships().
parent
2ddd6bb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/Drupal/views/View.php
View file @
f8d58182
...
...
@@ -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
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment