|
From: <tu...@us...> - 2012-09-18 00:29:29
|
Revision: 5667
http://web-erp.svn.sourceforge.net/web-erp/?rev=5667&view=rev
Author: turbopt
Date: 2012-09-18 00:29:23 +0000 (Tue, 18 Sep 2012)
Log Message:
-----------
Correct strlen() check in condition.
Modified Paths:
--------------
trunk/PO_PDFPurchOrder.php
trunk/doc/Change.log
Modified: trunk/PO_PDFPurchOrder.php
===================================================================
--- trunk/PO_PDFPurchOrder.php 2012-09-17 07:48:10 UTC (rev 5666)
+++ trunk/PO_PDFPurchOrder.php 2012-09-18 00:29:23 UTC (rev 5667)
@@ -257,7 +257,7 @@
$OrderTotal += ($POLine['unitprice']*$POLine['quantityord']);
//use suppliers itemcode if available i.e. stringlength >0
- if (strlen($POLine['suppliers_partno']>0)) {
+ if ( strlen($POLine['suppliers_partno']) > 0 ) {
$Itemcode=$POLine['suppliers_partno'];
} else {
$Itemcode=$POLine['itemcode'];
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2012-09-17 07:48:10 UTC (rev 5666)
+++ trunk/doc/Change.log 2012-09-18 00:29:23 UTC (rev 5667)
@@ -1,4 +1,5 @@
webERP Change Log
+17/9/2012 Paul Thursby: Correct strlen() check in condition.
15/9/12 Vitaly: Display relevant information about supplier on SelectSupplier page
12/9/12 Icedlava: some small corrections in the Manual, and update of bookmark links for some setup, petty cash and order functions.
8/9/12 Phil: removed all use of $_REQUEST across all scripts replace with GET/POST to cirumvent SQL injection attacks as reported by Daniel Compton
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|