SolutionFactor - 7:56 pm on Jan 19, 2013 (gmt 0)
Only yesterday I had to rename a variable that was supposed to be strictly local because its content was getting changed by a function that should have had no effect on it. And I could swear I'd used the identical construction dozens of times before...
I'd bet a pretty penny this was due to not using the var keyword before the variable declaration.
Was the variable in question declared using the var keyword, or did you leave that out?