[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[2717] trunk/sql/modules/admin.sql



Revision: 2717
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2717&view=rev
Author:   einhverfr
Date:     2009-07-10 17:39:36 +0000 (Fri, 10 Jul 2009)

Log Message:
-----------
Correcting misbehavior if password is changed and validity is indefinite

Modified Paths:
--------------
    trunk/sql/modules/admin.sql

Modified: trunk/sql/modules/admin.sql
===================================================================
--- trunk/sql/modules/admin.sql	2009-07-08 22:41:43 UTC (rev 2716)
+++ trunk/sql/modules/admin.sql	2009-07-10 17:39:36 UTC (rev 2717)
@@ -299,7 +299,7 @@
 
     UPDATE users SET notify_password = DEFAULT where username = SESSION_USER;
 
-    IF t_expires IS NOT NULL THEN
+    IF t_expires IS NULL THEN
         t_expires := 'infinity';
     END IF;
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.