Projekt

Allgemein

Profil

GX-Bug #54766 » NOSEOPageParameterFix.patch

Till Tepelmann, 11.01.2018 17:37

Unterschiede anzeigen:

src/includes/application_top.php (revision )
1354 1354
	   && !isset($_GET['listing_count'])
1355 1355
	   && $gm_redirected_url != DIR_WS_CATALOG . $gmSEOBoost->get_boosted_category_url($cID, $t_language_id)
1356 1356
	   && $cID != 0
1357
	   && (!isset($_GET['page']) || $_GET['page'] == 1)
1358 1357
	)
1359 1358
	{
1360
		$gm_seo_cat_link = xtc_href_link($gmSEOBoost->get_boosted_category_url($cID, $t_language_id));
1359
		$page = '';
1360
		if(isset($_GET['page']) && $_GET['page'] != 1){
1361
			$page = 'page='.$_GET['page'];
1362
		}
1363
		$gm_seo_cat_link = xtc_href_link($gmSEOBoost->get_boosted_category_url($cID, $t_language_id), $page);
1361 1364

  
1362 1365
		if(!isset($_SESSION['last_redirect_url']) || $_SESSION['last_redirect_url'] != $gm_seo_cat_link)
1363 1366
		{
    (1-1/1)