Php 8.1 compatibility fix
This commit is contained in:
parent
2a741e6b5e
commit
050bf90d2b
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue