File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 66
66
$ item ,
67
67
$ type ,
68
68
$ subtype ,
69
- $ field_options
69
+ $ field_options,
70
70
);
71
71
echo "</div> " ;
72
72
} else {
Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ public function checkCondition($item)
428
428
$ value = $ this ->fields ['value ' ];
429
429
$ condition = $ this ->fields ['condition ' ];
430
430
431
- $ searchOption = Search::getOptions (get_class ($ item ))[$ this ->fields ['search_option ' ]];
431
+ $ searchOption = Search::getOptions (get_class ($ item ))[$ this ->fields ['search_option ' ]];
432
432
433
433
$ fields = array_merge ($ item ->fields , $ item ->input );
434
434
Original file line number Diff line number Diff line change @@ -887,10 +887,10 @@ public static function showForTab($params)
887
887
{
888
888
$ item = $ params ['item ' ];
889
889
890
- if ($ item ->fields ['type ' ] == "" ) {
891
- $ item ->fields ['type ' ] = $ params ['options ' ]['type ' ];
892
- }
893
- if ($ item ->fields ['itilcategories_id ' ] == "" ) {
890
+ if ($ item ->fields ['type ' ] == "" ) {
891
+ $ item ->fields ['type ' ] = $ params ['options ' ]['type ' ];
892
+ }
893
+ if ($ item ->fields ['itilcategories_id ' ] == "" ) {
894
894
$ item ->fields ['itilcategories_id ' ] = $ params ['options ' ]['itilcategories_id ' ];
895
895
}
896
896
@@ -975,8 +975,7 @@ public static function showForTab($params)
975
975
}
976
976
$ display_condition = new PluginFieldsContainerDisplayCondition ();
977
977
978
- if ($ display_condition ->computeDisplayContainer ($ item , $ c_id ))
979
- {
978
+ if ($ display_condition ->computeDisplayContainer ($ item , $ c_id )) {
980
979
self ::showDomContainer (
981
980
$ c_id ,
982
981
$ item ,
You can’t perform that action at this time.
0 commit comments