diff options
Diffstat (limited to 'src/function.cpp')
-rw-r--r-- | src/function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/function.cpp b/src/function.cpp index 755bb48..10b47b9 100644 --- a/src/function.cpp +++ b/src/function.cpp @@ -38,10 +38,10 @@ void invoke_function(INTERNAL_FUNCTION_PARAMETERS) Parameters params(ZEND_NUM_ARGS()); // @todo get the appropriate request (or environment) - Request request(NULL); + Environment environment(NULL); // get the result - result = function->invoke(request, params); + result = function->invoke(environment, params); } /** |