Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv20470
Modified Files:
auth.php
Log Message:
Change date format of last seen to actually make sense (use minutes instead of months). Bug pointed out by Greg.
Index: auth.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/auth.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** auth.php 23 Aug 2003 20:37:30 -0000 1.5
--- auth.php 13 Oct 2003 17:12:29 -0000 1.6
***************
*** 162,166 ****
}
if(isset($user->user)) {
! $query = "UPDATE ofirst_members SET lastseen='" . date("h:m:s M d, Y") . "' WHERE user='$user->user';";
$q = ofirst_dbquery($query);
unset($q);
--- 162,166 ----
}
if(isset($user->user)) {
! $query = "UPDATE ofirst_members SET lastseen='" . date("h:i:s M d, Y") . "' WHERE user='$user->user';";
$q = ofirst_dbquery($query);
unset($q);
|