diff --git a/module/repo/model.php b/module/repo/model.php index d30032a856..456dcb66d9 100644 --- a/module/repo/model.php +++ b/module/repo/model.php @@ -2653,7 +2653,7 @@ class repoModel extends model foreach($files as $key => $file) { - if ($file['parent'] == $parent) + if ($file['parent'] === $parent) { $treeList[$key] = $file; $fileName[$key] = $file['name'];