+ [refac] fix error of undefined variable $branch.

This commit is contained in:
liugang
2025-07-10 16:27:55 +08:00
parent 139dfb3ee9
commit a3648efc41
+1
View File
@@ -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();