[DisplayAction] Fix function call on a member (add ->) (#1379)

This commit is contained in:
Grégory T 2019-12-04 18:34:26 +01:00 committed by LogMANOriginal
parent ba43c87952
commit ba8c4623ed

View file

@ -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));
}
}