commit f5a1288505cfba65a2b3703a5a34c1b267c41e49
parent 8f0aded179bb448f11213e365a9a468f49fcbba8
Author: markseu <mark2011@mayberg.se>
Date: Wed, 20 Sep 2023 21:34:52 +0200
Updated core
Diffstat:
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/system/extensions/core.php b/system/extensions/core.php
@@ -2,7 +2,7 @@
// Core extension, https://github.com/annaesvensson/yellow-core
class YellowCore {
- const VERSION = "0.8.117";
+ const VERSION = "0.8.118";
const RELEASE = "0.8.22";
public $content; // content files
public $media; // media files
@@ -716,7 +716,8 @@ class YellowSystem {
// Return different value for system setting
public function getDifferent($key) {
- return reset(array_diff($this->getAvailable($key), array($this->get($key))));
+ $array = array_diff($this->getAvailable($key), array($this->get($key)));
+ return reset($array);
}
// Return available values for system setting
diff --git a/system/extensions/update-current.ini b/system/extensions/update-current.ini
@@ -1,11 +1,11 @@
# Datenstrom Yellow update settings
Extension: Core
-Version: 0.8.117
+Version: 0.8.118
Description: Core functionality of your website.
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/main/downloads/core.zip
-Published: 2023-09-12 11:16:13
+Published: 2023-09-20 21:28:20
Developer: Anna Svensson
Tag: feature
system/extensions/core.php: core.php, create, update