Commit e4f229ad authored by merlinofchaos's avatar merlinofchaos

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

parent 9574bdd9
......@@ -14,6 +14,7 @@ Views 5.x-dev
o #124610: (KarenS) Allows other modules to add custom tabs to view admin.
o #137952: (dww) Fix some problems by not having enough options on default menu tabs.
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.
......
......@@ -1488,7 +1488,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