Updated extensions for PHP 8.1 compatibility
This commit is contained in:
parent
be8dfb766a
commit
bfd3eaac87
2 changed files with 4 additions and 4 deletions
|
@ -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, "");
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue