From 50fef944937a9b76e6dd72c2060c0c3eb2347e6a Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Wed, 28 Mar 2012 22:20:15 -0500 Subject: [PATCH] fixed major bug in LOAD, thanks otoan52 (issue 737) --- VERSION | 2 +- gluon/compileapp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index cc67eba8..c7323524 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.7 (2012-03-28 22:19:16) dev +Version 1.99.7 (2012-03-28 22:20:12) dev diff --git a/gluon/compileapp.py b/gluon/compileapp.py index 1ffa02e6..f1a41e2f 100644 --- a/gluon/compileapp.py +++ b/gluon/compileapp.py @@ -168,7 +168,7 @@ def LOAD(c=None, f='index', args=None, vars=None, other_request[key] = value other_request['env'] = Storage() for key, value in request.env.items(): - other_request.env['key'] = value + other_request.env[key] = value other_request.controller = c other_request.function = f other_request.extension = extension or request.extension