X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FImages.php;fp=DataObjects%2FImages.php;h=7790205c128ede29bf50b34eaeefab167c04e80f;hp=64012434abf09cd504eaff271a12560fc1d70728;hb=f718d5ed4ccf64a8f60e27b2621af6ca1fa042e6;hpb=5bbfad48733c554217cfa13672d60bfac9b85a2b 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]; }