From e385065b2017897e4980cbcdb4da074a55486164 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Sat, 21 Jan 2012 17:23:47 -0600 Subject: [PATCH] issue 628, thanks hi21alt --- VERSION | 2 +- gluon/tools.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index b41da809..cab4faca 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2012-01-21 17:22:25) stable +Version 1.99.4 (2012-01-21 17:23:43) stable diff --git a/gluon/tools.py b/gluon/tools.py index cd4d9e2a..0b8560cc 100644 --- a/gluon/tools.py +++ b/gluon/tools.py @@ -2840,7 +2840,7 @@ class Auth(object): current_record='parent_record')) """ - if archive_current and not form.record: + if not archive_current and not form.record: return None table = form.table if not archive_table: