forked from extern/egroupware
Fix expansion broken in ddddc5ba05
Caused export field checkboxes in new definition to not keep their value
This commit is contained in:
parent
918d91eb9b
commit
965e100082
@ -88,8 +88,11 @@ class Grid extends Box
|
||||
return false; // return
|
||||
}
|
||||
|
||||
if ($this->id && $this->type !== 'row') $cname = self::form_name($cname, $this->id, $expand);
|
||||
if (!empty($expand['cname']) && $expand['cname'] !== $cname && $cname)
|
||||
if($this->id && $this->type !== 'row')
|
||||
{
|
||||
$cname = self::form_name($cname, $this->id, $expand);
|
||||
}
|
||||
if($cname && (!empty($expand['cname']) && $expand['cname'] !== $cname || !$expand['cname']))
|
||||
{
|
||||
$expand['cont'] =& self::get_array(self::$request->content, $cname);
|
||||
$expand['cname'] = $cname;
|
||||
|
Loading…
Reference in New Issue
Block a user