Skip to content

Commit 2ee2616

Browse files
committed
fix(targetticket,targetchange): dynamic entity computation may fail
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
1 parent 546a39b commit 2ee2616

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/targetbase.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,10 @@ protected function setTargetEntity($data, PluginFormcreatorFormAnswer $formanswe
303303
]
304304
],
305305
'WHERE' => [
306-
"$profileUserTable.users_id" => $requesters_id
306+
"$profileUserTable.users_id" => $requesters_id,
307+
'is_dynamic' => '1',
307308
],
308309
'ORDER' => [
309-
"$profileUserTable.is_dynamic DSC",
310310
$order_entities
311311
]
312312
]);

0 commit comments

Comments
 (0)