Created
February 12, 2019 12:42
-
-
Save konratnox/7c85a53d946e0c3a9ec17fb65fe8eda7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
if ($_GET["PAGEN_" . $arResult['ARR_NAV']["NavNum"]] > 0 && $arResult['ARR_NAV']["NavPageNomer"] != $_GET["PAGEN_" . $arResult['ARR_NAV']["NavNum"]]) { | |
define('ERROR_404', 'Y'); | |
return; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$arNavResult = array(); | |
$arNavResult['NavNum'] = $arResult['NAV_RESULT']->NavNum; | |
$arNavResult['NavPageNomer'] = $arResult['NAV_RESULT']->NavPageNomer; | |
$arNavResult['NavPageCount'] = $arResult['NAV_RESULT']->NavPageCount; | |
$arResult['ARR_NAV'] = $arNavResult; | |
$this->__component->SetResultCacheKeys(array('ARR_NAV')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment