diff --git a/VERSION b/VERSION index 4c7eb0ca..388ed63b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-03-19 16:04:11) dev +Version 1.99.7 (2012-03-20 20:28:56) dev diff --git a/gluon/dal.py b/gluon/dal.py index 556bce77..cec33103 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -7026,7 +7026,7 @@ class Table(dict): def insert(self, **fields): if any(f(fields) for f in self._before_insert): return 0 ret = self._db._adapter.insert(self,self._listify(fields)) - ret and [f(fields) for f in self._before_insert] + ret and [f(fields) for f in self._after_insert] return ret def validate_and_insert(self,**fields): diff --git a/gluon/globals.py b/gluon/globals.py index e50fb739..89b475ec 100644 --- a/gluon/globals.py +++ b/gluon/globals.py @@ -52,7 +52,7 @@ current = threading.local() # thread-local storage for request-scope globals css_template = '' js_template = '' coffee_template = '' -lass_template = '' +less_template = '' css_inline = '' js_inline = ''