From 7c906c8b896e618bc5b18638df5331e2601a1386 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Fri, 21 Dec 2012 00:20:06 -0600 Subject: [PATCH] possibly fixed issue table_archive_archive...archive --- VERSION | 2 +- gluon/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,