summaryrefslogtreecommitdiff
path: root/program/include/rcube_output_json.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_output_json.php')
-rw-r--r--program/include/rcube_output_json.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_output_json.php b/program/include/rcube_output_json.php
index 1d9d6edf6..d48dd35c1 100644
--- a/program/include/rcube_output_json.php
+++ b/program/include/rcube_output_json.php
@@ -170,7 +170,7 @@ class rcube_output_json extends rcube_output
*/
public function redirect($p = array(), $delay = 1)
{
- $location = rcmail::get_instance()->url($p);
+ $location = $this->app->url($p);
$this->remote_response(sprintf("window.setTimeout(function(){ %s.redirect('%s',true); }, %d);",
rcmail::JS_OBJECT_NAME, $location, $delay));
exit;