mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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
This commit is contained in:
parent
9e98f127f2
commit
72f6f06f44
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user