From: <tim...@us...> - 2010-10-13 09:13:16
|
Revision: 4096 http://web-erp.svn.sourceforge.net/web-erp/?rev=4096&view=rev Author: tim_schofield Date: 2010-10-13 09:13:10 +0000 (Wed, 13 Oct 2010) Log Message: ----------- Show the last visit date correctly. Fixes bug 3085860 Modified Paths: -------------- trunk/WWW_Users.php trunk/doc/Change.log.html Modified: trunk/WWW_Users.php =================================================================== --- trunk/WWW_Users.php 2010-10-09 02:49:35 UTC (rev 4095) +++ trunk/WWW_Users.php 2010-10-13 09:13:10 UTC (rev 4096) @@ -288,10 +288,10 @@ $k=1; } - if ($myrow[7]=='') { - $LastVisitDate = Date('Y-m-d'); + if ($myrow[8]=='') { + $LastVisitDate = Date($_SESSION['DefaultDateFormat']); } else { - $LastVisitDate = ConvertSQLDate($myrow[7]); + $LastVisitDate = ConvertSQLDate($myrow[8]); } /*The SecurityHeadings array is defined in config.php */ Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-10-09 02:49:35 UTC (rev 4095) +++ trunk/doc/Change.log.html 2010-10-13 09:13:10 UTC (rev 4096) @@ -1,6 +1,7 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> -<p>09/10/10 Phil: Added xmlrpc_GetStockCategoryList api method +<p>13/10/10 Tim: WWW_Users.php - Show the last visit date correctly. Fixes bug 3085860</p> +<p>09/10/10 Phil: Added xmlrpc_GetStockCategoryList api method</p> <p>04/10/10 Matt Taylor: upgrade3.11.1-3.12.sql - Update tables to utf8</p> <p>03/10/10 Gabriel Olowo: ManualPurchaseOrdering.php - Manual for purchase ordering system</p> <p>02/10/10 Tim: AuditTrail.php - Bug fixes and layout changes</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |