Hmmm... not sure... You need to apply the change to the end-result.
If you implemented the changes using Allan's "differential" approach, and care to send me the resulting addpost.php, I can take a look and post the necessary change.
But you should be able to find the following string
!$Location && !$replyto
in your addpost.php to locate the section in question.
Regards,
Max