mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 10:53:39 +01:00
Fix expansion broken in ddddc5ba05
Caused export field checkboxes in new definition to not keep their value
This commit is contained in:
parent
3317cc735a
commit
65b0a31aeb
@ -88,8 +88,11 @@ class Grid extends Box
|
|||||||
return false; // return
|
return false; // return
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->id && $this->type !== 'row') $cname = self::form_name($cname, $this->id, $expand);
|
if($this->id && $this->type !== 'row')
|
||||||
if (!empty($expand['cname']) && $expand['cname'] !== $cname && $cname)
|
{
|
||||||
|
$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['cont'] =& self::get_array(self::$request->content, $cname);
|
||||||
$expand['cname'] = $cname;
|
$expand['cname'] = $cname;
|
||||||
|
Loading…
Reference in New Issue
Block a user