[dev] PATCH Fix last login not saving every time.

Michael M Slusarz slusarz@bigworm.colorado.edu
Thu, 8 Aug 2002 11:36:53 -0600


Quoting Mike Cochrane <mike@graftonhall.co.nz>:

| -                if (empty($last_login)) {
| +                if (empty($last_login) || $last_login == 0) {

Just a note: this change would be superfluous -- empty returns true if the 
value is 0.

| +            $prefs->store();

I tried to clean up the register_shutdown_function activity in Prefs.php - 
try latest CVS.

michael

______________________________________________
Michael Slusarz [slusarz@bigworm.colorado.edu]
The University of Colorado at Boulder