* Fix id type for compare..

This commit is contained in:
qixinzhi
2024-04-17 08:14:18 +00:00
parent 16f928dbee
commit 6b216ef42f
+1 -1
View File
@@ -105,7 +105,7 @@ class moduleMenu extends wg
/* Remove the rendered module. */
if(isset(static::$filterMap["{$module->parent}-{$module->id}"])) return false;
if($module->parent != $id) return false;
if((string)$module->parent != (string)$id) return false;
static::$filterMap["{$module->parent}-{$module->id}"] = true;
return true;