Fixed bug where only the first entry from a given day will be updated.
Problem is reuse of variable %return (aka $return {blah}) in both of the functions overwriting each ohter. This simply renames one of the two variables so they don't collide and
updated version
Log in to post a comment.
updated version