projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
48d8899
)
fix #8001 - EQS image delivery - flag as problem before sending
author
Alan
<alan@roojs.com>
Mon, 5 Feb 2024 04:21:15 +0000
(12:21 +0800)
committer
Alan
<alan@roojs.com>
Mon, 5 Feb 2024 04:21:15 +0000
(12:21 +0800)
DataObjects/Images.php
patch
|
blob
|
history
diff --git
a/DataObjects/Images.php
b/DataObjects/Images.php
index
109dc56
..
d866e48
100644
(file)
--- a/
DataObjects/Images.php
+++ b/
DataObjects/Images.php
@@
-635,6
+635,8
@@
class Pman_Core_DataObjects_Images extends DB_DataObject
} else if (preg_match('#images[^/]+/([0-9]+)/#i', $url, $matches)) {
// supports images.xxxxx.com/{number}/name...
$id = $matches[1];
} else if (preg_match('#images[^/]+/([0-9]+)/#i', $url, $matches)) {
// supports images.xxxxx.com/{number}/name...
$id = $matches[1];
+ } else if (preg_match('#Thumb/[^/]+/([0-9]+)/#', $url, $matches)) {
+ $id = $matches[1];
}
if ($id === false || $id < 1) {
return false;
}
if ($id === false || $id < 1) {
return false;