...
|
...
|
@@ -201,7 +201,7 @@ class Folder extends Base { |
|
|
app()->e('folder_not_allowed_to_delete');
|
|
|
}
|
|
|
// 是否存在下级
|
|
|
if(db()->count(folderSql::first(['pid'=>$folder['pid'],'email_id'=>$email['id']]))){
|
|
|
if(db()->count(folderSql::first(['pid'=>$folder['id'],'email_id'=>$email['id']]))){
|
|
|
app()->e('folder_delete_exist_child');
|
|
|
}
|
|
|
|
...
|
...
|
|