mikuli.cz

:)
git clone https://git.sr.ht/~ashymad/mikuli.cz
Log | Files | Refs

commit 9265d34e1ec078cc0a43811c78d8665f775a933b
parent 58cabaa01082dff9eb7e1aab80a440354ad059c3
Author: markseu <mark2011@mayberg.se>
Date:   Wed, 28 Jul 2021 10:08:18 +0200

Updated core, bugfix

Diffstat:
Msystem/extensions/core.php | 8++++----
Msystem/extensions/update-current.ini | 4++--
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/system/extensions/core.php b/system/extensions/core.php @@ -2,7 +2,7 @@ // Core extension, https://github.com/datenstrom/yellow-extensions/tree/master/source/core class YellowCore { - const VERSION = "0.8.47"; + const VERSION = "0.8.48"; const RELEASE = "0.8.17"; public $page; // current page public $content; // content files @@ -1790,9 +1790,9 @@ class YellowLanguage { } } } - foreach($this->settings as $languageKey=>$languageValue) { - if (!isset($this->settings[$languageKey]["languageDescription"])) { - unset($this->settings[$languageKey]); + foreach ($this->settings->getArrayCopy() as $key=>$value) { + if (!isset($this->settings[$key]["languageDescription"])) { + unset($this->settings[$key]); } } $callback = function ($a, $b) { diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini @@ -21,11 +21,11 @@ Tag: feature system/extensions/command.php: command.php, create, update Extension: Core -Version: 0.8.47 +Version: 0.8.48 Description: Core functionality of the website. HelpUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/core DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/core.zip -Published: 2021-07-10 19:57:59 +Published: 2021-07-28 10:03:36 Developer: Datenstrom Tag: feature system/extensions/core.php: core.php, create, update