diff --git a/VERSION b/VERSION index cbf0c4a1..4ca64bf7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.7-stable+timestamp.2013.05.27.10.41.10 +Version 2.4.7-stable+timestamp.2013.05.27.11.49.44 diff --git a/gluon/dal.py b/gluon/dal.py index 316bd133..a6317982 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -10370,7 +10370,7 @@ class Rows(object): # test for multiple rows multi = False f = self.first() - if f: + if f and isinstance(key, basestring): multi = any([isinstance(v, f.__class__) for v in f.values()]) if (not "." in key) and multi: # No key provided, default to int indices