Skip to content

Commit

Permalink
Fix SQL syntax error while trying to restore from copy job
Browse files Browse the repository at this point in the history
Fixes #566: SQL syntax error while trying to restore from copy job
  • Loading branch information
Marco van Wieringen committed Nov 17, 2015
1 parent e923dc6 commit 3ce3c57
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dird/ua_restore.c
Expand Up @@ -1466,8 +1466,7 @@ static bool select_backups_before_date(UAContext *ua, RESTORE_CTX *rx, char *dat
/*
* Display a list of all copies
*/
db_list_copies_records(ua->jcr, ua->db, 0, rx->JobIds,
ua->send, HORZ_LIST);
db_list_copies_records(ua->jcr, ua->db, "", rx->JobIds, ua->send, HORZ_LIST);
}

/*
Expand Down

0 comments on commit 3ce3c57

Please sign in to comment.