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
c160d29c
Commit
c160d29c
authored
May 08, 2012
by
peximo
Committed by
Nicholas Thompson
May 08, 2012
Browse files
#1206164 - Fixing Strict Warning error.
parent
a1f983d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/views.page_title.inc
View file @
c160d29c
...
...
@@ -30,7 +30,8 @@ function views_page_title_pattern_alter(&$pattern, &$types) {
$h
=
$view
->
argument
;
// Splice the arguments and get the key for the current arg.
$h
=
array_shift
(
array_splice
(
$h
,
count
(
$args
)
-
1
,
1
));
$hh
=
array_splice
(
$h
,
count
(
$args
)
-
1
,
1
);
$h
=
array_shift
(
$hh
);
// Get the Page Title Pattern from the options array for this handler
$pattern
=
isset
(
$h
->
options
[
'page_title_pattern'
])
?
$h
->
options
[
'page_title_pattern'
]
:
$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