Commit 11ffb77e227e895fc9256baee75b292b8e336eca
1 parent
a54d86cf
sitemapcontroller check reverse filters v1.1
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
console/controllers/SiteMapController.php
| ... | ... | @@ -89,7 +89,7 @@ class SiteMapController extends Controller |
| 89 | 89 | $reverse_url = preg_replace('/filters:([^=]+=[^=]+);([^=]+=[^=]+)/', 'filters:$2;$1', $url); |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | - if(in_array($url, $this->urlList) || (isset($reverse_url) && in_array($url, $reverse_url))){ | |
| 92 | + if(in_array($url, $this->urlList) || (isset($reverse_url) && in_array($reverse_url, $this->urlList))) { | |
| 93 | 93 | return false; |
| 94 | 94 | } else { |
| 95 | 95 | $this->urlList[] = $url; | ... | ... |