Updated core

This commit is contained in:
markseu 2023-09-20 21:34:52 +02:00
parent 8f0aded179
commit f5a1288505
2 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -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