commit 81ac88364ddadf7de3f75753cfb7ba66937c7dc3
parent d135589ed37e22d56c940557e8f4cf8bc2bdf5f8
Author: markseu <mark2011@mayberg.se>
Date: Sun, 8 Feb 2026 21:55:23 +0100
Updated API and events
Diffstat:
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/system/extensions/update-available.ini b/system/extensions/update-available.ini
@@ -149,14 +149,14 @@ system/themes/copenhagen.css: copenhagen.css, create, update, careful
system/themes/copenhagen.png: copenhagen.png, create
Extension: Core
-Version: 0.9.18
+Version: 0.9.19
Description: Core functionality of your website.
Developer: Anna Svensson
Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DocumentationLanguage: en, de, sv
-Published: 2026-02-08 18:41:27
+Published: 2026-02-08 21:54:10
Status: available
system/workers/core.php: core.php, create, update
system/extensions/core.php: corepatch.txt, update
diff --git a/system/extensions/update-installed.ini b/system/extensions/update-installed.ini
@@ -1,14 +1,14 @@
# Datenstrom Yellow update settings for installed extensions
Extension: Core
-Version: 0.9.18
+Version: 0.9.19
Description: Core functionality of your website.
Developer: Anna Svensson
Tag: feature
DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip
DocumentationUrl: https://github.com/annaesvensson/yellow-core
DocumentationLanguage: en, de, sv
-Published: 2026-02-08 18:41:27
+Published: 2026-02-08 21:54:10
Status: available
system/workers/core.php: core.php, create, update
system/extensions/core.php: corepatch.txt, update
diff --git a/system/workers/core.php b/system/workers/core.php
@@ -2,7 +2,7 @@
// Core extension, https://github.com/annaesvensson/yellow-core
class YellowCore {
- const VERSION = "0.9.18";
+ const VERSION = "0.9.19";
const RELEASE = "0.9";
public $content; // content files
public $media; // media files
@@ -2914,7 +2914,7 @@ class YellowToolbox {
if (method_exists($value["object"], "onEnumerate")) {
$output = $value["object"]->onEnumerate($action, $text);
if (!is_null($output)) {
- $lines = array_merge($values, is_array($output) ? $output : array($output));
+ $values = array_merge($values, is_array($output) ? $output : array($output));
}
}
}