Skip to content

Commit 01d0816

Browse files
committed
fix(issue): missed column rename in redirection handling
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 317c4da commit 01d0816

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ function plugin_init_formcreator() {
196196
// When an issue has a single target ticket
197197
$issue = new PluginFormcreatorIssue();
198198
$issue->getFromDBByCrit([
199-
'sub_itemtype' => Ticket::class,
200-
'original_id' => (int) $_GET['id']
199+
'itemtype' => Ticket::class,
200+
'items_id' => (int) $_GET['id']
201201
]);
202202
if (!$issue->isNewItem()) {
203203
Html::redirect($issue->getFormURLWithID($issue->getID()) . $openItilFollowup);

0 commit comments

Comments
 (0)