mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-14 17:30:11 +01:00
Do not run restrict validation check for type taglist-account if free entries are allowed
This commit is contained in:
parent
d6c40b98a0
commit
ea5d08df48
@ -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