mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix empty date customfield caused by not set app-name, defaulting to currentapp now
This commit is contained in:
parent
215dc21ec5
commit
9b6e6ad819
@ -391,7 +391,7 @@ class Customfields extends Transformer
|
||||
{
|
||||
$form_name = self::form_name($cname, $this->id, $expand);
|
||||
$value =& $this->get_array($data, $form_name, true);
|
||||
$customfields = Api\Storage\Customfields::get($this->attrs['app']);
|
||||
$customfields = Api\Storage\Customfields::get($this->attrs['app'] ?? $GLOBALS['egw_info']['flags']['currentapp']);
|
||||
|
||||
foreach($customfields as $field_name => $field)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user