mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
"fix not working nextmatch widget in tracker, readonly detection was uncomplete ($readonlys can be an array!)"
This commit is contained in:
parent
04c7f2a6cb
commit
d4a01c41f3
@ -522,7 +522,7 @@ class boetemplate extends soetemplate
|
|||||||
}
|
}
|
||||||
// only supply extension data for non-readonly widgets or if it's already set
|
// only supply extension data for non-readonly widgets or if it's already set
|
||||||
// otherwise lists store >10k unnecessary data in each etemplate-session
|
// otherwise lists store >10k unnecessary data in each etemplate-session
|
||||||
if (!($cell['readonly'] || $readonlys) || isset($GLOBALS['egw_info']['etemplate']['extension_data'][$name]))
|
if (!($cell['readonly'] || $readonlys && !is_array($readonlys)) || isset($GLOBALS['egw_info']['etemplate']['extension_data'][$name]))
|
||||||
{
|
{
|
||||||
$extension_data =& $GLOBALS['egw_info']['etemplate']['extension_data'][$name];
|
$extension_data =& $GLOBALS['egw_info']['etemplate']['extension_data'][$name];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user