Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
page_title
Commits
dd9cfda2
Commit
dd9cfda2
authored
May 08, 2012
by
git
Committed by
Nicholas Thompson
May 08, 2012
Browse files
#1517640 - Fixing E_NOTICE error for missing display handler property.
parent
e35bb445
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/views.page_title.inc
View file @
dd9cfda2
...
...
@@ -46,7 +46,7 @@ function views_page_title_pattern_alter(&$pattern, &$types) {
}
}
// This is a view with no args provided, or the specific arg has no title - lets use the base display title
elseif
(
$view
->
display_handler
->
display
->
display_plugin
==
'page_with_page_title'
)
{
elseif
(
isset
(
$view
->
display_handler
)
&&
$view
->
display_handler
->
display
->
display_plugin
==
'page_with_page_title'
)
{
$pattern
=
$view
->
display_handler
->
get_option
(
'page_title_pattern'
);
}
}
...
...
Write
Preview
Supports
Markdown
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