Skip to content

Commit 31bad89

Browse files
committed
修复SAE引擎上传类生成缩略图报错时的bug
1 parent aa84b78 commit 31bad89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extend/Engine/Sae/Lib/Extend/Library/ORG/Net/UploadFile_sae.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private function save($file) {
172172
$img->resize($width, $height);
173173
$new_data = $img->exec();
174174
if (!$s->write($domain, $thumbPath . $thumbname.'.'.$thumbExt, $new_data)) {
175-
$this->error = '生成缩略图失败!'.$this->errmsg();
175+
$this->error = '生成缩略图失败!'.$s->errmsg();
176176
return false;
177177
}
178178
}

0 commit comments

Comments
 (0)