Quote:
Today at 08:17 PM filburt1 said this in Post #6
It's not a good idea to overwrite an options variable.
|
I agree with you as a principal but my code is ok here because as you can see, it is just inserted right before "dooutput" function which terminates the script when it runs. In other words overwriting a system variable can not make any harm here as the script ends right after it anyway..
Quote:
still causes me to get an JavaScript error box when I click SUBMIT if the text is over 1,000 characters.
|
yeah sorry wrong template name.. my code edited, plz apply again..
Quote:
Is this is a bug, then it probably does the same thing in the newthread, newreply and editpost, right? Same fix for that?
|
Right but var name different for regular posts which is "$postmaxchars".