We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 765795e commit b54e804Copy full SHA for b54e804
inc/field.class.php
@@ -914,10 +914,10 @@ public static function showForTab($params)
914
{
915
$item = $params['item'];
916
917
- if ($item->fields['type'] == "") {
+ if (isset($item->fields['type']) && $item->fields['type'] == "") {
918
$item->fields['type'] = $params['options']['type'];
919
}
920
- if ($item->fields['itilcategories_id'] == "") {
+ if (isset($item->fields['itilcategories_id']) &&$item->fields['itilcategories_id'] == "") {
921
$item->fields['itilcategories_id'] = $params['options']['itilcategories_id'];
922
923
$functions = array_column(debug_backtrace(), 'function');
0 commit comments