forked from extern/egroupware
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);
|
$form_name = self::form_name($cname, $this->id, $expand);
|
||||||
$value =& $this->get_array($data, $form_name, true);
|
$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)
|
foreach($customfields as $field_name => $field)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user