From ad9f954f68d67d9f66a874d68fa5ae56b30d2781 Mon Sep 17 00:00:00 2001 From: dave Date: Sun, 18 Nov 2007 08:20:51 +0000 Subject: [PATCH] - Correctly copy over NULL password expiry dates (passwords never expire) --- db/db.update.62.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db.update.62.php b/db/db.update.62.php index bd9ecc4b..a3d99f54 100644 --- a/db/db.update.62.php +++ b/db/db.update.62.php @@ -37,7 +37,7 @@ function db_update_62_post() $passwordexpiry = "DATE_ADD(CURDATE(), INTERVAL {$config['committee_password_expiry_days']} DAY)"; } else { - $passwordexpiry = "'0000-00-00'"; + $passwordexpiry = "NULL"; } $deleted = ($c['deleted'] == 'Y') ? 'yes' : 'no';