January 9, 2013 at 12:10 pm #933
That looks like 2 lines. The $ext = part is supposed to be the next line. What version of the script are you using?
This was in the dev snapshot where I fixed it. It should be available in the downloads section now with the fix too.