From ba8c4623eddc0eb0caa122c42946eb0b7fab079d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20T?= Date: Wed, 4 Dec 2019 18:34:26 +0100 Subject: [PATCH] [DisplayAction] Fix function call on a member (add ->) (#1379) --- actions/DisplayAction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actions/DisplayAction.php b/actions/DisplayAction.php index 89930cfb..579630a1 100644 --- a/actions/DisplayAction.php +++ b/actions/DisplayAction.php @@ -190,7 +190,7 @@ class DisplayAction extends ActionAbstract { $items[] = $item; } elseif(Configuration::getConfig('error', 'output') === 'http') { - header('Content-Type: text/html', true, get_return_code($e)); + header('Content-Type: text/html', true, $this->get_return_code($e)); die(buildTransformException($e, $bridge)); } } @@ -222,7 +222,7 @@ class DisplayAction extends ActionAbstract { $items[] = $item; } elseif(Configuration::getConfig('error', 'output') === 'http') { - header('Content-Type: text/html', true, get_return_code($e)); + header('Content-Type: text/html', true, $this->get_return_code($e)); die(buildTransformException($e, $bridge)); } }