Skip to content

Commit a30db66

Browse files
committed
CS
1 parent d93a3c6 commit a30db66

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

inc/container.class.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function prepareInputForAdd($input) {
267267
}
268268
}
269269
}
270-
270+
271271
$input['itemtypes'] = (isset($input['itemtypes'])) ? json_encode($input['itemtypes'], TRUE): NULL ;
272272

273273
return $input;
@@ -414,9 +414,9 @@ public function showForm($ID, $options=array()) {
414414
echo $types[$this->fields["type"]];
415415
} else {
416416
Dropdown::showFromArray('type',
417-
self::getTypes(),
417+
self::getTypes(),
418418
array('value' => $this->fields["type"],
419-
'rand' => $rand));
419+
'rand' => $rand));
420420
$params = array('type' => '__VALUE__',
421421
'itemtype' => $this->fields["itemtypes"],
422422
'subtype' => $this->fields['subtype'],
@@ -689,8 +689,8 @@ function getTabNameForItem(CommonGLPI $item, $withtemplate=0) {
689689
}
690690
if( in_array( $item->fields['entities_id'], $entities ) ) {
691691
$tabs_entries[$tab_name] = $tab_label;
692-
}
693-
}
692+
}
693+
}
694694
}
695695
}
696696
return $tabs_entries;
@@ -1015,7 +1015,7 @@ static function preItemUpdate(CommonDBTM $item) {
10151015
if( !in_array( $item->fields['entities_id'], $entities ) ) {
10161016
return false ;
10171017
}
1018-
1018+
10191019
//find fields associated to found container
10201020
$field_obj = new PluginFieldsField();
10211021
$fields = $field_obj->find("plugin_fields_containers_id = $c_id AND type != 'header'", "ranking");

0 commit comments

Comments
 (0)