[DisplayAction] Fix function call on a member (add ->) (#1379)
This commit is contained in:
parent
ba43c87952
commit
ba8c4623ed
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue