From: <tim...@us...> - 2009-11-24 16:52:50
|
Revision: 3102 http://web-erp.svn.sourceforge.net/web-erp/?rev=3102&view=rev Author: tim_schofield Date: 2009-11-24 16:52:44 +0000 (Tue, 24 Nov 2009) Log Message: ----------- Allow for case where Last visited date isn'nt set, and set it. Modified Paths: -------------- trunk/WWW_Users.php trunk/doc/Change.log.html Modified: trunk/WWW_Users.php =================================================================== --- trunk/WWW_Users.php 2009-11-24 16:05:52 UTC (rev 3101) +++ trunk/WWW_Users.php 2009-11-24 16:52:44 UTC (rev 3102) @@ -267,8 +267,12 @@ echo '<tr class="OddTableRows">'; $k=1; } - + + if ($myrow[6]=='') { + $LastVisitDate = Date('Y-m-d'); + } else { $LastVisitDate = ConvertSQLDate($myrow[6]); + } /*The SecurityHeadings array is defined in config.php */ Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2009-11-24 16:05:52 UTC (rev 3101) +++ trunk/doc/Change.log.html 2009-11-24 16:52:44 UTC (rev 3102) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p> +<p>24/11/09 Tim: WWW_Users.php - Allow for case where Last visited date isn'nt set, and set it. <p>24/11/09 Tim: SystemParameters.php - Remove .svn from the theme list, and minor layout changes for currencies where large numbers are common. <p>23/11/09 Tim: PrintCustTrans.php and PrintCustTransPortrait.php - Correctly print the invoice lines, and add the invoice number to the file name <p>22/11/09 Tim: MiscFunctions.php - Correction for case of LogPath not being set This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |