Merge branch 'fixbug_liumengyi_31808' into 'master'

* Fix bug #31808.

See merge request easycorp/zentaopms!6795
This commit is contained in:
孙广明
2023-01-30 00:34:10 +00:00
+1 -1
View File
@@ -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);
}