From ff69b8abd7297390aac9a50509db067f0571d286 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 23 Apr 2019 12:43:10 +0200 Subject: [PATCH] fix Unsupported operand types error: no stati available for a custom type Currently stati are not saved for custom types, need to be fixed --- infolog/inc/class.infolog_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_ui.inc.php b/infolog/inc/class.infolog_ui.inc.php index cb87f39841..49015aa9ec 100644 --- a/infolog/inc/class.infolog_ui.inc.php +++ b/infolog/inc/class.infolog_ui.inc.php @@ -2170,7 +2170,7 @@ class infolog_ui 'Pr' => $this->bo->enums['priority'], 'Ow' => 'select-account', //'Ac', // info_access: private||public - 'St' => $this->bo->status[$content['info_type']]+array('deleted' => 'deleted'), + 'St' => (array)$this->bo->status[$content['info_type']]+array('deleted' => 'deleted'), 'Pe' => 'select-percent', 'Co' => 'date-time', 'st' => 'date-time',