fixed backupDelete bug
This commit is contained in:
parent
be40ee9c71
commit
626e11083f
1 changed files with 1 additions and 1 deletions
|
@ -1243,7 +1243,7 @@ func (web *Web) backupDelete(c *gin.Context) {
|
|||
c.AbortWithError(http.StatusBadRequest, err)
|
||||
return
|
||||
}
|
||||
if importID <= 0 {
|
||||
if importID < 0 {
|
||||
c.Redirect(http.StatusSeeOther, web.urlPrefix+"backup/view")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue