From 22c391ddb05a0bf65f559ce8aeb3eadac801193c Mon Sep 17 00:00:00 2001
From: chengkun <chengkun@ishangstudy.com>
Date: Mon, 12 May 2025 17:24:08 +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