......
while ($arElement = $rsIBlockElements->NavNext(false))
{
$arElement = htmlspecialcharsex($arElement);
//begin edit
$db_props = CIBlockElement::GetProperty($arParams["IBLOCK_ID"], $arElement["ID"], array("sort" => "asc"));
while($ar_props = $db_props->Fetch()){
//echo "<pre>"; print_r($ar_props); echo "</pre>";
$arElement["PROPERTY"][] = $ar_props;
}
//end edit
if ($bWorkflowIncluded)
{
$PREVIOUS_ID = $arElement['ID'];
$LAST_ID = CIBlockElement::WF_GetLast($arElement['ID']);
if ($LAST_ID != $arElement["ID"])
......
|