From 03d88048bce17235e476fba5bb53be518d7ccefc Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 5 Nov 2020 18:36:48 +0800 Subject: [PATCH] ComposerUpdate --- vendor/composer/installed.json | 8 ++++---- vendor/services.php | 2 +- vendor/zoujingli/think-library/src/common.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 6b583e75b..00828b42c 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -941,12 +941,12 @@ "source": { "type": "git", "url": "https://github.com/zoujingli/ThinkLibrary.git", - "reference": "baae4158f9d045299e9c6d8f7dba8bddafbf15f0" + "reference": "6d7c8ac778d356e21222c6015260246a55433507" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/baae4158f9d045299e9c6d8f7dba8bddafbf15f0", - "reference": "baae4158f9d045299e9c6d8f7dba8bddafbf15f0", + "url": "https://api.github.com/repos/zoujingli/ThinkLibrary/zipball/6d7c8ac778d356e21222c6015260246a55433507", + "reference": "6d7c8ac778d356e21222c6015260246a55433507", "shasum": "", "mirrors": [ { @@ -963,7 +963,7 @@ "ext-mbstring": "*", "topthink/framework": "^6.0" }, - "time": "2020-11-05T04:10:07+00:00", + "time": "2020-11-05T09:27:54+00:00", "type": "library", "extra": { "think": { diff --git a/vendor/services.php b/vendor/services.php index 3f25dea87..b152d9674 100644 --- a/vendor/services.php +++ b/vendor/services.php @@ -1,5 +1,5 @@ 'think\\admin\\Library', diff --git a/vendor/zoujingli/think-library/src/common.php b/vendor/zoujingli/think-library/src/common.php index db2537087..d56f622dc 100644 --- a/vendor/zoujingli/think-library/src/common.php +++ b/vendor/zoujingli/think-library/src/common.php @@ -169,7 +169,7 @@ if (!function_exists('arr2str')) { */ function arr2str(array $data, string $separ = ',', ?array $allow = null) { - $temp = $data; + $temp = []; if (is_array($allow)) foreach ($data as $item) { if (in_array($item, $allow)) $temp[] = $item; }