From f718d5ed4ccf64a8f60e27b2621af6ca1fa042e6 Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 26 Jul 2023 11:09:30 +0800 Subject: [PATCH] Case insiensiteve look for name --- DataObjects/Images.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataObjects/Images.php b/DataObjects/Images.php index 64012434..7790205c 100644 --- a/DataObjects/Images.php +++ b/DataObjects/Images.php @@ -609,7 +609,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject $id = $matches[1]; } else if (preg_match('#Images/([0-9]+)/#', $url, $matches)) { $id = $matches[1]; - } else if (preg_match('#images[^/]+/([0-9]+)/#', $url, $matches)) { + } else if (preg_match('#images[^/]+/([0-9]+)/#i', $url, $matches)) { // supports images.xxxxx.com/{number}/name... $id = $matches[1]; } -- 2.39.2