forked from extern/egroupware
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)
|
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 in allowed options, skip account check to support app-specific options
|
||||||
if(count($allowed) > 0 && in_array($val, $allowed)) continue;
|
if(count($allowed) > 0 && in_array($val, $allowed)) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user