作者 邓超

bug

... ... @@ -462,12 +462,21 @@ class Mail {
// 更新描述
try {
$db->update(listsSql::$table,[
'description' => $description,
'description' => @base64_encode($description) ? $description : '',
'is_file' => MailFun::isBodyFile($body)
],dbWhere([
'id' => $id
]));
}catch (\Throwable $e){
$db->update(listsSql::$table,[
'is_file' => MailFun::isBodyFile($body)
],dbWhere([
'id' => $id
]));
}
}
return true;
... ...