diff --git a/callback_query.go b/callback_query.go index e3b3d534..cec8fc53 100644 --- a/callback_query.go +++ b/callback_query.go @@ -89,7 +89,7 @@ func queryCallback(scope *Scope) { if err := rows.Err(); err != nil { scope.Err(err) - } else if scope.db.RowsAffected == 0 && !isSlice { + } else if scope.db.RowsAffected == 0 { scope.Err(ErrRecordNotFound) } }