From 1eb3af2a6dbb839210ddf5aa4c123b43b64207ad Mon Sep 17 00:00:00 2001 From: z Date: Tue, 25 Aug 2020 16:40:31 +0800 Subject: [PATCH] * fix error. --- module/block/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/block/control.php b/module/block/control.php index 342e16c469..7f704843fe 100644 --- a/module/block/control.php +++ b/module/block/control.php @@ -255,7 +255,7 @@ class block extends control if(common::hasPriv($action['module'], $action['method'])) { $this->app->loadLang($action['module']); - $block->actionLink = html::a($this->createLink($action['module'], $action['method'], $action['vars']), " " . $this->lang->$action['module']->create, '', "class='btn btn-mini'"); + $block->actionLink = html::a($this->createLink($action['module'], $action['method'], $action['vars']), " " . $this->lang->{$action['module']}->create, '', "class='btn btn-mini'"); } }