From: <Ex...@us...> - 2012-08-30 03:06:56
|
Revision: 5613 http://web-erp.svn.sourceforge.net/web-erp/?rev=5613&view=rev Author: ExsonQu Date: 2012-08-30 03:06:50 +0000 (Thu, 30 Aug 2012) Log Message: ----------- 30/8/2012 Exson: fixed sql problem reported bymodpr0be Modified Paths: -------------- trunk/WorkOrderEntry.php Modified: trunk/WorkOrderEntry.php =================================================================== --- trunk/WorkOrderEntry.php 2012-08-30 02:51:49 UTC (rev 5612) +++ trunk/WorkOrderEntry.php 2012-08-30 03:06:50 UTC (rev 5613) @@ -38,7 +38,7 @@ // check for new or modify condition if (isset($_REQUEST['WO']) AND$_REQUEST['WO']!=''){ // modify - $_POST['WO'] = $_REQUEST['WO']; + $_POST['WO'] = (int)$_REQUEST['WO']; $EditingExisting = true; } else { // new @@ -696,4 +696,4 @@ echo '</form>'; include('includes/footer.inc'); -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |