Skip to content

Commit e60714a

Browse files
committed
Revert "PHP-Fixer"
This reverts commit 00515fe.
1 parent 4a48d05 commit e60714a

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

inc/containerdisplaycondition.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

inc/field.class.php

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -967,15 +967,18 @@ public static function showForTab($params)
967967
echo "<div id='{$html_id}'>";
968968
}
969969
$display_condition = new PluginFieldsContainerDisplayCondition();
970-
971-
if ($item->fields['type'] == "") {
972-
$item->fields['type'] = $params['options']['type'];
973-
}
974-
if ($item->fields['itilcategories_id'] == "") {
970+
971+
if($item->fields['type'] == "")
972+
{
973+
$item->fields['type'] = $params['options']['type'];
974+
}
975+
if($item->fields['itilcategories_id'] == "")
976+
{
975977
$item->fields['itilcategories_id'] = $params['options']['itilcategories_id'];
976978
}
977979

978-
if ($display_condition->computeDisplayContainer($item, $c_id)) {
980+
if ($display_condition->computeDisplayContainer($item, $c_id))
981+
{
979982
self::showDomContainer(
980983
$c_id,
981984
$item,

0 commit comments

Comments
 (0)