From abff05c12154408b8249835bc49c6aca1fcff821 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 25 Jan 2021 14:17:55 +0800 Subject: [PATCH] sync --- Config.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Config.php b/Config.php index 7eb31607..25595a73 100644 --- a/Config.php +++ b/Config.php @@ -46,7 +46,9 @@ class Pman_Core_Config { } function overlayDefaults($cfg) { - $this->defaults['disable'] = implode(',', $this->defaults['disable']); + if (isset($this->defaults['disable']) && is_array($this->defaults['disable']) ) { + $this->defaults['disable'] = implode(',', $this->defaults['disable']); + } foreach($this->defaults as $k=>$v) { if (is_array($v)) { -- 2.39.2