mikuli.cz

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

commit 050bf90d2bc26ef2af526ae52a1cec2a71e61d16
parent 2a741e6b5e433c808c108b9c92796813ab8d5114
Author: Steffen Schultz <steffenschultz@mailbox.org>
Date:   Sun,  8 May 2022 19:35:14 +0200

Php 8.1 compatibility fix

Diffstat:
Msystem/extensions/core.php | 6+++---
Msystem/extensions/update-current.ini | 4++--
2 files changed, 5 insertions(+), 5 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.78"; + const VERSION = "0.8.79"; const RELEASE = "0.8.19"; public $page; // current page public $content; // content files @@ -2937,7 +2937,7 @@ class YellowToolbox { // Return array of specific size from text public function getTextList($text, $separator, $size) { $tokens = explode($separator, $text, $size); - return array_pad($tokens, $size, null); + return array_pad($tokens, $size, ""); } // Return array of variable size from text, space separated @@ -2947,7 +2947,7 @@ class YellowToolbox { foreach ($tokens as $key=>$value) { if ($value==$optional) $tokens[$key] = ""; } - return array_pad($tokens, $sizeMin, null); + return array_pad($tokens, $sizeMin, ""); } // Return text from array, space separated 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.78 +Version: 0.8.79 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-05-08 11:15:46 +Published: 2022-05-08 19:28:58 Developer: Datenstrom Tag: feature system/extensions/core.php: core.php, create, update