From ba1f64daf905ab5ed5bdbdfed60b9585601311fe Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 30 Jan 2023 08:29:51 +0800 Subject: [PATCH] * Fix bug #31808. --- 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 0832bfbda1..3104099bd6 100755 --- a/module/block/control.php +++ b/module/block/control.php @@ -277,7 +277,7 @@ class block extends control /* The list assigned to me jumps to the work page when click more button. */ $block->moreLink = $this->createLink($moduleName, $method, $vars); - if($moduleName == 'my' and strpos($this->config->block->workMethods, $method)) + if($moduleName == 'my' and strpos($this->config->block->workMethods, $method) !== false) { $block->moreLink = $this->createLink($moduleName, 'work', 'mode=' . $method . '&' . $vars); }