mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Do not run restrict validation check for type taglist-account if free entries are allowed
This commit is contained in:
parent
23449272e2
commit
faca76f6a9
@ -144,7 +144,7 @@ class Taglist extends Etemplate\Widget
|
||||
|
||||
foreach((array) $value as $key => $val)
|
||||
{
|
||||
if($this->type == 'taglist-account')
|
||||
if($this->type == 'taglist-account' && !$this->attrs['allowFreeEntries'])
|
||||
{
|
||||
// If in allowed options, skip account check to support app-specific options
|
||||
if(count($allowed) > 0 && in_array($val, $allowed)) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user