Skip to content

Commit

Permalink
fix(issue): bad key when finding sub item of an assistance request
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Jul 8, 2021
1 parent c2e05ba commit 6392cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/issue.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ public function display($options = []) {
public function displayExtended($options = []) {
$itemtype = $this->fields['itemtype'];
$item = new $itemtype();
if (!$item->getFromDB($this->fields[''])) {
if (!$item->getFromDB($this->fields['items_id'])) {
Html::displayNotFoundError();
}

Expand Down

0 comments on commit 6392cdf

Please sign in to comment.