From: <tu...@us...> - 2018-01-08 00:56:53
|
Revision: 7907 http://sourceforge.net/p/web-erp/reponame/7907 Author: turbopt Date: 2018-01-08 00:56:50 +0000 (Mon, 08 Jan 2018) Log Message: ----------- WriteReport.inc: Fix broken page number handling. (Reported in forums: http://www.weberp.org/forum/showthread.php?tid=7955) Modified Paths: -------------- trunk/doc/Change.log trunk/reportwriter/WriteReport.inc Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2018-01-08 00:48:17 UTC (rev 7906) +++ trunk/doc/Change.log 2018-01-08 00:56:50 UTC (rev 7907) @@ -1,7 +1,9 @@ webERP Change Log +8/1/18 Paul Becker (PaulT commit): WriteReport.inc: Fix broken page number handling. (Reported in forums: http://www.weberp.org/forum/showthread.php?tid=7955) +8/1/18 PaulT: Change.log: Update remaining past commit entries (during the past few weeks) to give credit to the right person(s) involved with the change, and when applicable, add the related forum URL for historical reference. 7/1/18 Phil: Update phpxmlrpc to latest from https://github.com/gggeek/phpxmlrpc -6/1/18 PaulT: Update some past commit entries to give credit to the right person(s) involved with the change, and when applicable, add the related forum URL for historical reference. +6/1/18 PaulT: Change.log: Update some past commit entries to give credit to the right person(s) involved with the change, and when applicable, add the related forum URL for historical reference. 6/1/18 Paul Becker and Tim (PaulT commit): SelectSalesOrder.php: Fix handling to correct table heading value. (Reported in forums: http://www.weberp.org/forum/showthread.php?tid=8000) 6/1/18 Phil: Attempt to avoid XSS attacks by logged in users by parsing out "script>" from all $_POST and $_GET variables - subsequentely changed to strip_tags from all $_POST and $_GETs per Tim's recommendation 3/1/18: Paul Becker (PaulT commit): SelectSalesOrder.php: Fix search to retain quote option and set StockLocation to the UserStockLocation to auto-load current Sales Orders. (Reported in formus: http://www.weberp.org/forum/showthread.php?tid=8000) Modified: trunk/reportwriter/WriteReport.inc =================================================================== --- trunk/reportwriter/WriteReport.inc 2018-01-08 00:48:17 UTC (rev 7906) +++ trunk/reportwriter/WriteReport.inc 2018-01-08 00:56:50 UTC (rev 7907) @@ -120,7 +120,7 @@ //Arial italic 8 $this->SetTextColor(0); //Page number - $this->Cell(0,10,'Page '.$this->PageNo().'/{nb}',0,0,'C'); + $this->Cell(0, 10, 'Page ' . $this->PageNo() . '/' . $this->getNumPages(), 0, 0, 'C'); } function ReportTable($Data) { |