Too many Pics in "one" upload fails

By wmage

hello and thanks fpr a wonderful mod!

i've test it today and it seems to work very nice - if i upload 1 - 3 pics together.  if i upload more than 3 pics together, i get an "error 500".

here the apache error-log:

[Wed Feb 18 17:22:49 2009] [error] [client] WARNING: 2009-02-18 17:22:49 (CET): "Invalid argument supplied for foreach()" in file /srv/www/htdocs/xxxxx/html/elgg1.2/mod/tidypics/actions/edit_multi.php (line 19), referer:

is there any chance to fix it? i have no idea, because i don't speak PHP :-(

thanks for help!