fire_event add log

This commit is contained in:
xiaomlove
2025-06-22 02:02:14 +07:00
parent 73b4183d56
commit 20f116485b
3 changed files with 15 additions and 3 deletions

View File

@@ -32,8 +32,8 @@ class PluginStore extends Model
{
$list = self::listAll(true);
$enabled = Plugin::listEnabled();
foreach ($list as &$row) {
$row['installed_version'] = $enabled[$row['plugin_id']] ?? '';
foreach ($list as $key => $row) {
$list[$key]['installed_version'] = $enabled[$row['plugin_id']] ?? '';
}
return $list;
}