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 6666 $ item ,
6767 $ type ,
6868 $ subtype ,
69- $ field_options
69+ $ field_options,
7070 );
7171 echo "</div> " ;
7272 } else {
Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ public function checkCondition($item)
428428 $ value = $ this ->fields ['value ' ];
429429 $ condition = $ this ->fields ['condition ' ];
430430
431- $ searchOption = Search::getOptions (get_class ($ item ))[$ this ->fields ['search_option ' ]];
431+ $ searchOption = Search::getOptions (get_class ($ item ))[$ this ->fields ['search_option ' ]];
432432
433433 $ fields = array_merge ($ item ->fields , $ item ->input );
434434
Original file line number Diff line number Diff line change @@ -887,10 +887,10 @@ public static function showForTab($params)
887887 {
888888 $ item = $ params ['item ' ];
889889
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 ' ] == "" ) {
894894 $ item ->fields ['itilcategories_id ' ] = $ params ['options ' ]['itilcategories_id ' ];
895895 }
896896
@@ -975,8 +975,7 @@ public static function showForTab($params)
975975 }
976976 $ display_condition = new PluginFieldsContainerDisplayCondition ();
977977
978- if ($ display_condition ->computeDisplayContainer ($ item , $ c_id ))
979- {
978+ if ($ display_condition ->computeDisplayContainer ($ item , $ c_id )) {
980979 self ::showDomContainer (
981980 $ c_id ,
982981 $ item ,
You can’t perform that action at this time.
0 commit comments