From 9a22a77bdc8b77568a3081f9cc9216a118e646f3 Mon Sep 17 00:00:00 2001 From: wangjianhua Date: Wed, 6 Jul 2022 04:08:26 +0000 Subject: [PATCH] * Display instance name in log list. --- frontend/module/instance/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/module/instance/model.php b/frontend/module/instance/model.php index 711270e0..172d2f52 100644 --- a/frontend/module/instance/model.php +++ b/frontend/module/instance/model.php @@ -500,7 +500,7 @@ public function printLog($instance, $log) { $action = zget($this->lang->instance->actionList, $log->action, $this->lang->actions); - $logText = $log->actorName . ' ' . sprintf($action, $instance->appName); + $logText = $log->actorName . ' ' . sprintf($action, $instance->name); $extra = json_decode($log->extra); if(!empty($extra))