From 258e56b4ec7dd51807ca2825ceb74ebbeaab5d55 Mon Sep 17 00:00:00 2001 From: ozh Date: Wed, 30 Oct 2013 09:51:22 +0100 Subject: [PATCH] Use $this --- flight/Engine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flight/Engine.php b/flight/Engine.php index 7c8e55f..554a93f 100644 --- a/flight/Engine.php +++ b/flight/Engine.php @@ -447,7 +447,7 @@ class Engine { */ public function _jsonp($data) { // Get the callback value (eg '?jsonp=my_function') and pad the output - $callback = \Flight::request()->query[ $this->get('flight.jsonp.callback') ]; + $callback = $this->request()->query[ $this->get('flight.jsonp.callback') ]; $this->response() ->status(200) ->header('Content-Type', 'application/javascript')