Merge branch 'fixbug_liumengyi_31808' into 'master'
* Fix bug #31808. See merge request easycorp/zentaopms!6795
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user