File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ function plugin_formcreator_addDefaultWhere($itemtype) {
197197 $ issueSearchOptions = Search::getOptions ($ itemtype );
198198 $ complexJoinId = Search::computeComplexJoinID ($ issueSearchOptions [9 ]['joinparams ' ]);
199199 $ colname = $ issueSearchOptions [9 ]['linkfield ' ];
200- $ condition .= "`glpi_users_ $ { colname}_ $ complexJoinId`.`id` = ' $ currentUser' " ;
200+ $ condition .= "`glpi_users_ { $ colname }_ $ complexJoinId`.`id` = ' $ currentUser' " ;
201201
202202 // condition where current user is a member of a validator group of the issue
203203 $ groupList = [];
@@ -209,7 +209,7 @@ function plugin_formcreator_addDefaultWhere($itemtype) {
209209 // Search option ID 16 is either from Formcreator, either from AdvForms
210210 $ complexJoinId = Search::computeComplexJoinID ($ issueSearchOptions [16 ]['joinparams ' ]);
211211 $ colname = $ issueSearchOptions [16 ]['linkfield ' ];
212- $ condition .= " OR `glpi_groups_ $ { colname}_ $ complexJoinId`.`id` IN (' $ groupList') " ;
212+ $ condition .= " OR `glpi_groups_ { $ colname }_ $ complexJoinId`.`id` IN (' $ groupList') " ;
213213 }
214214
215215 // condition where current user is a validator of a issue of type ticket
You can’t perform that action at this time.
0 commit comments