Fix fish DeleteAll bug

This commit is contained in:
Patrick O'brien 2016-09-19 19:30:50 +10:00
parent a426f09a75
commit 910c4b66ee

View file

@ -119,7 +119,7 @@ func buildDeleteQuery(q *Query) (*bytes.Buffer, []interface{}) {
where, whereArgs := whereClause(q, 1)
if len(whereArgs) != 0 {
args = append(args, whereArgs)
args = append(args, whereArgs...)
}
buf.WriteString(where)