diff --git a/VERSION b/VERSION index a8b12727..424530ca 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.1+timestamp.2012.12.21.00.16.27 +Version 2.4.1-alpha.1+timestamp.2012.12.21.00.19.28 diff --git a/gluon/tools.py b/gluon/tools.py index 929f39f3..8c8a7fa7 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -1397,7 +1397,7 @@ class Auth(object): """ tables = [table for table in tables] for table in tables: - if 'modified_on' in table.fields(): + if 'modified_on' in table.fields() and not current_record in table.fields(): table._enable_record_versioning( archive_db=archive_db, archive_name=archive_names,