Skip to content
Snippets Groups Projects
Commit 3acce3bc authored by blueminds's avatar blueminds Committed by Sascha Grossenbacher
Browse files

Issue #1970730 by blueminds: Fixed undefined index #translation on job item...

Issue #1970730 by blueminds: Fixed undefined index #translation on job item page when translations are missing.
parent f59e49b8
No related branches found
Tags 7.x-1.0-alpha3
No related merge requests found
......@@ -566,7 +566,7 @@ function _tmgmt_ui_review_form_element($data, TMGMTJobItem $job_item, &$zebra) {
}
$form[$target_key]['translation'] = array(
'#type' => 'textarea',
'#default_value' => $data[$key]['#translation']['#text'],
'#default_value' => isset($data[$key]['#translation']['#text']) ? $data[$key]['#translation']['#text'] : NULL,
'#title' => t('Translation'),
'#disabled' => $job_item->isAccepted(),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment