Skip to content

Commit

Permalink
Merge branch '6.13' into 7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Mar 20, 2020
2 parents 94519fb + 0ec370f commit 69acbe0
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,10 @@ public function onSiteAccessMatch(PostSiteAccessMatchEvent $event)
private function getViewParameters($pathinfo)
{
// No view parameters, get out of here.
if (($vpStart = strpos($pathinfo, '/(')) === false) {
if (
strpos($pathinfo, ')/') === false
|| ($vpStart = strpos($pathinfo, '/(')) === false
) {
return [$pathinfo, [], ''];
}

Expand Down

0 comments on commit 69acbe0

Please sign in to comment.