From: <tim...@us...> - 2010-07-04 22:01:24
|
Revision: 3559 http://web-erp.svn.sourceforge.net/web-erp/?rev=3559&view=rev Author: tim_schofield Date: 2010-07-04 22:01:17 +0000 (Sun, 04 Jul 2010) Log Message: ----------- <p>04/07/10 Tim: ConfirmDispatchControlled_Invoice.php - Force the LineNo variable to be read as integer</p> Modified Paths: -------------- trunk/ConfirmDispatchControlled_Invoice.php trunk/doc/Change.log.html Modified: trunk/ConfirmDispatchControlled_Invoice.php =================================================================== --- trunk/ConfirmDispatchControlled_Invoice.php 2010-07-04 22:00:56 UTC (rev 3558) +++ trunk/ConfirmDispatchControlled_Invoice.php 2010-07-04 22:01:17 UTC (rev 3559) @@ -12,9 +12,9 @@ include('includes/header.inc'); if (isset($_GET['LineNo'])){ - $LineNo = $_GET['LineNo']; + $LineNo = (int)$_GET['LineNo']; } elseif (isset($_POST['LineNo'])){ - $LineNo = $_POST['LineNo']; + $LineNo = (int)$_POST['LineNo']; } else { echo '<div class="centre"><a href="' . $rootpath . '/ConfirmDispatch_Invoice.php?' . SID . '">'. _('Select a line item to invoice').'</a><br>'; @@ -74,4 +74,4 @@ include('includes/footer.inc'); exit; -?> \ No newline at end of file +?> Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-07-04 22:00:56 UTC (rev 3558) +++ trunk/doc/Change.log.html 2010-07-04 22:01:17 UTC (rev 3559) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>04/07/10 Tim: ConfirmDispatchControlled_Invoice.php - Force the LineNo variable to be read as integer</p> <p>04/07/10 Tim: ConfirmDispatch_Invoice.php - Various fixes, corrections to sql statements and layout changes</p> <p>04/07/10 Tim: CompanyPreferences.php - Corrections to sql statements and layout changes</p> <p>04/07/10 Tim: COGSGLPostings.php - Corrections to sql statements and layout changes</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |