From: <ex...@us...> - 2015-03-09 02:30:59
|
Revision: 7210 http://sourceforge.net/p/web-erp/reponame/7210 Author: exsonqu Date: 2015-03-09 02:30:52 +0000 (Mon, 09 Mar 2015) Log Message: ----------- 09/03/15 Exson: Fixed undefined index noise of $_POST['SupplierContact'] in PO_Header.php. Modified Paths: -------------- trunk/PO_Header.php Modified: trunk/PO_Header.php =================================================================== --- trunk/PO_Header.php 2015-03-08 22:44:47 UTC (rev 7209) +++ trunk/PO_Header.php 2015-03-09 02:30:52 UTC (rev 7210) @@ -195,7 +195,7 @@ * ensure session variables updated then meta refresh to PO_Items.php*/ $_SESSION['PO' . $identifier]->Location = $_POST['StkLocation']; - $_SESSION['PO' . $identifier]->SupplierContact = $_POST['SupplierContact']; + $_SESSION['PO' . $identifier]->SupplierContact = isset($_POST['SupplierContact'])?$_POST['SupplierContact']:''; $_SESSION['PO' . $identifier]->DelAdd1 = $_POST['DelAdd1']; $_SESSION['PO' . $identifier]->DelAdd2 = $_POST['DelAdd2']; $_SESSION['PO' . $identifier]->DelAdd3 = $_POST['DelAdd3']; |