It shouldn't be necessary, but you are not the first to report needing that update. I think it must have to do with another error on the page somehow, but I don't really know for sure why it happens sometimes.
In a future version of eCart we will probably just always add that line before any redirect, since it shouldn't ever hurt and seems to resolve problems for some people such as yourself.