Merge branch 'fix_bug_18308' into 'master'

* Fix bug #18308.

See merge request easycorp/zentaopms!1711
This commit is contained in:
孙广明
2022-02-07 03:13:06 +00:00
+2 -2
View File
@@ -1165,7 +1165,7 @@ class user extends control
* AJAX: get users from a contact list.
*
* @param int $contactListID
* @param string $dropdownName
* @param string $dropdownName mailto|whitelist
* @access public
* @return string
*/
@@ -1175,7 +1175,7 @@ class user extends control
$attr = $dropdownName == 'mailto' ? "data-placeholder='{$this->lang->chooseUsersToMail}'" : '';
$users = $this->user->getPairs('devfirst|nodeleted', $list ? $list->userList : '', $this->config->maxCount);
$users = $this->user->getPairs('devfirst|nodeleted|noclosed', $list ? $list->userList : '', $this->config->maxCount);
if(isset($this->config->user->moreLink)) $this->config->moreLinks[$dropdownName . "[]"] = $this->config->user->moreLink;
if(!$contactListID)