Commit 37677da3 authored by Kulya's avatar Kulya 😊

Upd alvbx get sect4

parent 600bc35c
......@@ -463,13 +463,17 @@ class AloVoiceRest
$conf = self::get_billzconf();
$result = false;
if(!empty($conf["bx_catalog_id"])){
$result = BxRest::call("catalog.section.list",[
$res = BxRest::call("catalog.section.list",[
// "select"=>[],
"filter"=>[
"iblockId" => $conf["bx_catalog_id"],
"name" => $name
]
]);
if(!empty($res["result"]["sections"])){
$result = $res["result"]["sections"][0]["id"];
}
}
return $result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment