From: Alan Knowles Date: Fri, 24 Jun 2016 04:39:14 +0000 (+0800) Subject: DataObjects/Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=156d12308ca470a83b016187f41796b5d5e31c03 DataObjects/Images.php --- diff --git a/DataObjects/Images.php b/DataObjects/Images.php index 53bfc771..cc3ba195 100644 --- a/DataObjects/Images.php +++ b/DataObjects/Images.php @@ -403,7 +403,7 @@ class Pman_Core_DataObjects_Images extends DB_DataObject $ff->Pman_Images['public_baseURL'] : $ff->baseURL; if (!empty($req['query']['imagesize'])) { - $baseURL = isset($req['query']['imageBaseURL']) ? $req['query']['imageBaseURL'] : false; + $baseURL = isset($req['query']['imageBaseURL']) ? $req['query']['imageBaseURL'] : $ret['public_baseURL']; $ret['url'] = $this->URL(-1, '/Images/Download',$baseURL);