mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 17:08:34 +01:00
Fix for display of multi-row read-only select-account widget
This commit is contained in:
parent
3980ba3692
commit
1ef649b869
@ -234,7 +234,8 @@ class select_widget
|
||||
if ($readonly)
|
||||
{
|
||||
$cell['no_lang'] = True;
|
||||
foreach(is_array($value) ? $value : (strpos($value,',') !== false ? explode(',',$value) : array($value)) as $id)
|
||||
if (!is_array($value) && strpos($value,',') !== false) $value = explode(',',$value);
|
||||
foreach(is_array($value) ? $value : array($value) as $id)
|
||||
{
|
||||
$cell['sel_options'][$id] = !$id && !is_numeric($rows) ? lang($rows) :
|
||||
$this->accountInfo($id,$acc,$type2,$type=='both');
|
||||
|
Loading…
Reference in New Issue
Block a user