Quote Originally Posted by Absolute View Post
Firstly, move that code so it comes BEFORE the if (zen_not_null($_POST['address'])) { line.

And then change it so it reads:

Code:
if (isset($_POST['address']) && !zen_not_null($_POST['address'])) {  //perform ALL checks on relevancy here
    $messageStack->add_session($_GET['main_page'], TEXT_ERROR_VARIABLE_MISSING, 'error');
    zen_redirect(zen_href_link($_GET['main_page']));
  }
Absolute

Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou Thankyou


My way did seem to work, but I dont trust my coding on 0 sleep..
i have used the new code and it works perfectly