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';