From a34a90f03cecc7658231547270f8036bb5affe4a Mon Sep 17 00:00:00 2001
From: chengkun <chengkun@ishangstudy.com>
Date: Tue, 29 Apr 2025 18:32:24 +0800
Subject: [PATCH] 提交
---
js/ueditor/php/action_crawler.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/js/ueditor/php/action_crawler.php b/js/ueditor/php/action_crawler.php
index 786c9e8..0824cf8 100644
--- a/js/ueditor/php/action_crawler.php
+++ b/js/ueditor/php/action_crawler.php
@@ -35,7 +35,7 @@
/* 抓取远程图片 */
$list = array();
-$source = $_POST[$fieldName] ?? $_GET[$fieldName];
+$source = $_POST[$fieldName] ? $_GET[$fieldName]:"";
foreach ($source as $imgUrl) {
$item = new Uploader($imgUrl, $config, "remote");
$info = $item->getFileInfo();
--
Gitblit v1.9.0