(06-24-2011 08:55 AM)ZiNgA BuRgA Wrote: Very hard != impossible, and if it's application terminated (ie not by a user), it's a fair bit more probable than you think.
The problem is that your script is being called twice, not a double execution of the query.
Sorry for not noticing this. I know the script is being executed twice and the same thing happens with MyBB but since download count is not shown for image attachments, no one had noticed this before. The problem happens most likely because of the way Firefox handles inline images.