diff --git a/module/tree/model.php b/module/tree/model.php index 075511b4f6..a9c9b4d207 100644 --- a/module/tree/model.php +++ b/module/tree/model.php @@ -1357,6 +1357,7 @@ class treeModel extends model */ public function createSceneLink(string $type, object $module, string $parent, array|string $extra = array()): object { + $branch = $extra['branchID'] ?? ''; $orderBy = $extra['orderBy'] ?? 'id_desc'; $data = new stdclass();