Merge pull request #8265 from saurabh6790/fix_date_check_condition

fix: do not check empty string check for date type fields
This commit is contained in:
sahil28297 2019-08-26 17:51:48 +05:30 committed by GitHub
commit d568d8e2d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -60,7 +60,7 @@ def update_last_reset_password_date():
SET
last_password_reset_date = %s
WHERE
last_password_reset_date is null or last_password_reset_date = ''""", today())
last_password_reset_date is null""", today())
@frappe.whitelist()
def load():