[Weberp-svn] SF.net SVN: weberp:[5969] trunk/Customers.php
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2011-07-12 13:30:09
|
Revision: 5969 http://weberp.svn.sourceforge.net/weberp/?rev=5969&view=rev Author: tim_schofield Date: 2011-07-12 13:30:03 +0000 (Tue, 12 Jul 2011) Log Message: ----------- Remove unnecessary use of SID Modified Paths: -------------- trunk/Customers.php Modified: trunk/Customers.php =================================================================== --- trunk/Customers.php 2011-07-12 13:29:51 UTC (rev 5968) +++ trunk/Customers.php 2011-07-12 13:30:03 UTC (rev 5969) @@ -281,7 +281,7 @@ $BranchCode = mb_substr($_POST['DebtorNo'],0,4); - echo "<meta http-equiv='Refresh' content='0; url=" . $rootpath ."/CustomerBranches.php?" . SID . "&DebtorNo=" . $_POST['DebtorNo'] . "'>"; + echo '<meta http-equiv="Refresh" content="0; url=' . $rootpath .'/CustomerBranches.php?DebtorNo=' . $_POST['DebtorNo'] . '">'; echo '<div class="centre">' . _('You should automatically be forwarded to the entry of a new Customer Branch page') . '. ' . _('If this does not happen') .' (' . _('if the browser does not support META Refresh') . ') ' . @@ -935,7 +935,7 @@ $myrow[5], $myrow[0], $myrow[1], - $_SERVER['PHP_SELF'] . "?" . SID, + $_SERVER['PHP_SELF'] . '?', $myrow[0], $myrow[1]); } @@ -979,14 +979,14 @@ and contid='".$Edit."'"; $resultupcc = DB_query($SQLupdatecc,$db); echo '<br />'.$SQLupdatecc; - echo '<meta http-equiv="Refresh" content="0; url="' . $_SERVER['PHP_SELF'] . '?'.SID.'&DebtorNo='.$DebtorNo.'&ID='.$ID.'">'; + echo '<meta http-equiv="Refresh" content="0; url="' . $_SERVER['PHP_SELF'] . '?DebtorNo='.$DebtorNo.'&ID='.$ID.'">'; } if (isset($_GET['delete'])) { $SQl="DELETE FROM custcontacts where debtorno='".$DebtorNo."' and contid='".$ID."'"; $resultupcc = DB_query($SQl,$db); - echo '<meta http-equiv="Refresh" content="0; url=' . $_SERVER['PHP_SELF'] . '?'.SID.'&DebtorNo='.$DebtorNo.'">'; + echo '<meta http-equiv="Refresh" content="0; url=' . $_SERVER['PHP_SELF'] . '?DebtorNo='.$DebtorNo.'">'; echo '<br />'.$SQl; prnmsg('Contact Deleted','success'); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |