summaryrefslogtreecommitdiff
path: root/src/function.cpp
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-09-09 15:02:22 -0700
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-09-09 15:02:22 -0700
commite220af8dc07d845efb81082f3159460406ece9ca (patch)
tree0730a4d27a0aea3e826674c237cb581b56a9dcdc /src/function.cpp
parent49e349c494e0134570a158e56ba8b5b9f26b94f6 (diff)
work in progress
Diffstat (limited to 'src/function.cpp')
-rw-r--r--src/function.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/function.cpp b/src/function.cpp
index 8612cf1..13d4d27 100644
--- a/src/function.cpp
+++ b/src/function.cpp
@@ -37,8 +37,11 @@ void invoke_function(INTERNAL_FUNCTION_PARAMETERS)
// construct parameters
Parameters params(ZEND_NUM_ARGS());
+ // @todo get the appropriate request (or environment)
+ Request request(NULL);
+
// call the appropriate object
- ret = function->invoke(params);
+ ret = function->invoke(request, params);
}
/**