Commit c160d29c authored by peximo's avatar peximo Committed by Nicholas Thompson
Browse files

#1206164 - Fixing Strict Warning error.

parent a1f983d8
......@@ -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;
......
Supports Markdown
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