From e58c8110cefa7f1e688a55fd7ad13feed4c9ce93 Mon Sep 17 00:00:00 2001 From: Manfred Kindl Date: Fri, 27 Apr 2018 15:57:45 +0200 Subject: [PATCH] Trim auf Leerzeichen in Addon-Constructor --- include/addon.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/addon.class.php b/include/addon.class.php index 233bef916..a45046356 100644 --- a/include/addon.class.php +++ b/include/addon.class.php @@ -37,7 +37,7 @@ class addon extends basis_db public function __construct() { parent::__construct(); - $this->aktive_addons = array_filter(explode(";", ACTIVE_ADDONS)); + $this->aktive_addons = array_filter(array_map('trim', explode(";", ACTIVE_ADDONS))); }