Skip to content

Commit

Permalink
[DisplayAction] Fix function call on a member (add ->) (#1379)
Browse files Browse the repository at this point in the history
  • Loading branch information
GregThib authored and logmanoriginal committed Dec 4, 2019
1 parent ba43c87 commit ba8c462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions actions/DisplayAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public function execute() {

$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));
}
}
Expand Down Expand Up @@ -222,7 +222,7 @@ public function execute() {

$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));
}
}
Expand Down

0 comments on commit ba8c462

Please sign in to comment.