DA Update page redirect wrong?
Hi, for whatever reason, one of my update pages has started redirecting to an incorrect page, I only noticed today may have always been like it!
On the server behaviours 'update record' it is set correctly to redirect to:
tblcontacts_Results_Direct.php?ContactID=<?php echo ((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:""); ?>
However the page redirects to 'tblcontacts_Update.php', I have searched the up[date page endlessly and can find no reference to this page, have used IE & Chrome, cleared cache with no success?
// WA Application Builder Update
if (isset($_POST["Update_x"])) // Trigger
{
$WA_connection = $ghl_portal;
$WA_table = "tblcontacts";
$WA_redirectURL = "tblcontacts_Results_Direct.php?ContactID=".((isset($_POST["WADAUpdateRecordID"]))?$_POST["WADAUpdateRecordID"]:"") ."";
if (function_exists("rel2abs")) $WA_redirectURL = $WA_redirectURL?rel2abs($WA_redirectURL,dirname(__FILE__)):"";
$WA_keepQueryString = false;
$WA_indexField = "ContactID";
I have attached page if anyone can help me out?
Many thanks