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:
commit
d568d8e2d5
1 changed files with 1 additions and 1 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue