From 2665f8fa8253298d992b00b1a88757f9448786c6 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 13 Feb 2026 08:37:15 +0100 Subject: [PATCH 1/3] add section for console messages --- views/bootstrap/class.LogManagement.php | 1 + 1 file changed, 1 insertion(+) diff --git a/views/bootstrap/class.LogManagement.php b/views/bootstrap/class.LogManagement.php index 35bf03ef4..63272f2e1 100644 --- a/views/bootstrap/class.LogManagement.php +++ b/views/bootstrap/class.LogManagement.php @@ -104,6 +104,7 @@ $("input[type=checkbox]").each(function () { this.checked = !this.checked; }); array('default', 'Web'), array('webdav', 'WebDAV'), array('restapi', 'RestAPI'), + array('console', 'Console'), ); if($es = $this->callHook('extraSections')) $sections = array_merge($sections, $es); From 24923008837266297d38db123f2ab2a45e6b9a7e Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 13 Feb 2026 08:37:31 +0100 Subject: [PATCH 2/3] array_merge returned arrays from hook (was '+') --- inc/inc.ClassViewCommon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/inc.ClassViewCommon.php b/inc/inc.ClassViewCommon.php index b7557f5f5..8cb152c96 100644 --- a/inc/inc.ClassViewCommon.php +++ b/inc/inc.ClassViewCommon.php @@ -213,7 +213,7 @@ class SeedDMS_View_Common { if(is_string($tmpret)) { $ret = ($ret === null) ? $tmpret : (is_string($ret) ? $ret.$tmpret : array_merge($ret, array($tmpret))); } elseif(is_array($tmpret) || is_object($tmpret)) { - $ret = ($ret === null) ? $tmpret : (is_string($ret) ? (array($ret) + $tmpret) : ($ret + $tmpret)); + $ret = ($ret === null) ? $tmpret : (is_string($ret) ? (array($ret) + $tmpret) : array_merge($ret, $tmpret)); } else $ret = $tmpret; } From b0dac5546ec127155106f2592e883f7de2efea21 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 13 Feb 2026 08:39:25 +0100 Subject: [PATCH 3/3] add changes for 5.1.46 --- CHANGELOG | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index cbde4a9f5..ad4da4ad8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,8 @@ -------------------------------------------------------------------------------- Changes in version 5.1.46 -------------------------------------------------------------------------------- +- new section 'console' in log management +- arrays returned by view hooks are combined with array_merge() instead of '+' -------------------------------------------------------------------------------- Changes in version 5.1.45