Commit b7e24fca authored by merlinofchaos's avatar merlinofchaos

#139381: (whalebeach) Invalid call to strpos fixed in views_set_breadcrumb

parent 76a2c47f
......@@ -12,6 +12,7 @@ Views 4.7.x-dev
o #125973: (mfrederickson) Backport of internal views filter changes to 4.7 version.
o #138481: (fago) Allow 'delete' link to return to view like edit link does.
o #130019: Use the correct filter on textarea profile fields.
o #139381: (whalebeach) Invalid call to strpos fixed in views_set_breadcrumb
New features:
o #132825: (lyricnz) Allow 'add comment' link as field.
......
......@@ -1674,7 +1674,7 @@ function views_set_breadcrumb($view) {
// For next round.
}
$args[] = $arg;
if ($where && $where = strpos('$arg', $url)) {
if ($where && $where = strpos($url, '$arg')) {
$url = substr_replace($url, $arg, $where, 4);
}
else {
......
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