mikuli.cz

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

commit bfd3eaac87ce0c411bfc199667804de0e06532d0
parent be8dfb766afe282d267daeab4e91120268b324aa
Author: markseu <mark2011@mayberg.se>
Date:   Mon, 20 Jun 2022 13:25:05 +0200

Updated extensions for PHP 8.1 compatibility

Diffstat:
Msystem/extensions/core.php | 4++--
Msystem/extensions/update-current.ini | 4++--
2 files changed, 4 insertions(+), 4 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.85"; + const VERSION = "0.8.86"; const RELEASE = "0.8.20"; public $page; // current page public $content; // content files @@ -2946,7 +2946,7 @@ class YellowToolbox { $text = preg_replace("/\s+/s", " ", trim($text)); $tokens = str_getcsv($text, " ", "\""); foreach ($tokens as $key=>$value) { - if ($value==$optional) $tokens[$key] = ""; + if (is_null($value) || $value==$optional) $tokens[$key] = ""; } return array_pad($tokens, $sizeMin, ""); } 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.85 +Version: 0.8.86 Description: Core functionality of the website. DocumentationUrl: https://github.com/datenstrom/yellow-extensions/tree/master/source/core DownloadUrl: https://github.com/datenstrom/yellow-extensions/raw/master/zip/core.zip -Published: 2022-06-11 12:13:33 +Published: 2022-06-20 13:22:16 Developer: Datenstrom Tag: feature system/extensions/core.php: core.php, create, update