check for array

fix for bug: Can't use string ("0") as an ARRAY ref while "strict refs" in use at script/ddgc_commit_edits.pl line 46.

@MariagraziaAlastra