mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02:00
"only supply extension data for non-readonly widgets or if it's already set
otherwise lists store >10k unnecessary data in each etemplate-session"
This commit is contained in:
parent
6b0f70126b
commit
a921812095
@ -524,8 +524,13 @@ class boetemplate extends soetemplate
|
|||||||
{
|
{
|
||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
return $GLOBALS['egw_info']['etemplate']['extension'][$type]->pre_process($name,$value,$cell,$readonlys,
|
// only supply extension data for non-readonly widgets or if it's already set
|
||||||
$GLOBALS['egw_info']['etemplate']['extension_data'][$name],$this);
|
// otherwise lists store >10k unnecessary data in each etemplate-session
|
||||||
|
if (!($cell['readonly'] || $readonlys) || isset($GLOBALS['egw_info']['etemplate']['extension_data'][$name]))
|
||||||
|
{
|
||||||
|
$extension_data =& $GLOBALS['egw_info']['etemplate']['extension_data'][$name];
|
||||||
|
}
|
||||||
|
return $GLOBALS['egw_info']['etemplate']['extension'][$type]->pre_process($name,$value,$cell,$readonlys,$extension_data,$this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user