From 72f6f06f44fce49b1f91b049de8b0e0c5bc8c70b Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sun, 6 Apr 2008 04:09:02 +0000 Subject: [PATCH] Merged revisions 47614 via svnmerge from svn://svn.silverstripe.com/silverstripe/modules/sapphire/branches/2.2.0-mesq ........ r47614 | ischommer | 2008-01-04 19:15:18 +1300 (Fri, 04 Jan 2008) | 1 line stricter checking in loadUploaded() ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@52200 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/Image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/model/Image.php b/core/model/Image.php index ac2733763..8e8de3871 100755 --- a/core/model/Image.php +++ b/core/model/Image.php @@ -116,7 +116,7 @@ class Image extends File { * @return boolean Returns true if successful */ function loadUploaded($tmpFile) { - if(parent::loadUploaded($tmpFile)) { + if(parent::loadUploaded($tmpFile) === true) { $this->deleteFormattedImages(); return true; }