From b5c8b3ad250e1848adce0f8b13fd21442ccb6069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonel=20C=C3=A2mara?= Date: Tue, 12 Apr 2016 15:10:14 +0100 Subject: [PATCH] closes #1286 --- gluon/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gluon/tools.py b/gluon/tools.py index 171cf0e7..88511b21 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -4512,7 +4512,7 @@ class Auth(object): ignore_common_filters=True).select( limitby=(0, 1), orderby_on_limitby=False).first() if record: - if hasattr(record, 'is_active') and not record.is_ctive: + if hasattr(record, 'is_active') and not record.is_active: record.update_record(is_active=True) id = record.id else: