[Weberp-svn] SF.net SVN: weberp:[9577] trunk/WorkOrderEntry.php
Brought to you by:
sotandeka,
tim_schofield
|
From: <tim...@us...> - 2012-08-30 09:11:02
|
Revision: 9577
http://weberp.svn.sourceforge.net/weberp/?rev=9577&view=rev
Author: tim_schofield
Date: 2012-08-30 09:10:56 +0000 (Thu, 30 Aug 2012)
Log Message:
-----------
Exson: fixed sql problem reported bymodpr0be
Modified Paths:
--------------
trunk/WorkOrderEntry.php
Modified: trunk/WorkOrderEntry.php
===================================================================
--- trunk/WorkOrderEntry.php 2012-08-29 19:39:01 UTC (rev 9576)
+++ trunk/WorkOrderEntry.php 2012-08-30 09:10:56 UTC (rev 9577)
@@ -36,7 +36,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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|