We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

View | Details | Raw Unified | Return to bug 3669 | Differences between
and this patch

Collapse All | Expand All

(-)classes/submission/trackDirector/TrackDirectorAction.inc.php (-10 / +11 lines)
 Lines 1475-1494    Link Here 
1475
									$body .= $reviewFormElement->getReviewFormElementQuestion() . ": \n";
1475
									$body .= $reviewFormElement->getReviewFormElementQuestion() . ": \n";
1476
									$reviewFormResponse = $reviewFormResponseDao->getReviewFormResponse($reviewId, $reviewFormElement->getReviewFormElementId());
1476
									$reviewFormResponse = $reviewFormResponseDao->getReviewFormResponse($reviewId, $reviewFormElement->getReviewFormElementId());
1477
			
1477
			
1478
									$possibleResponses = $reviewFormElement->getReviewFormElementPossibleResponses();
1478
									if ($reviewFormResponse) {
1479
									if (in_array($reviewFormElement->getElementType(), $reviewFormElement->getMultipleResponsesElementTypes())) {
1479
										$possibleResponses = $reviewFormElement->getReviewFormElementPossibleResponses();
1480
										if ($reviewFormElement->getElementType() == REVIEW_FORM_ELEMENT_TYPE_CHECKBOXES) {
1480
										if (in_array($reviewFormElement->getElementType(), $reviewFormElement->getMultipleResponsesElementTypes())) {
1481
											foreach ($reviewFormResponse->getValue() as $value) {
1481
											if ($reviewFormElement->getElementType() == REVIEW_FORM_ELEMENT_TYPE_CHECKBOXES) {
1482
												$body .= "\t" . String::html2utf(strip_tags($possibleResponses[$value-1]['content'])) . "\n";
1482
												foreach ($reviewFormResponse->getValue() as $value) {
1483
													$body .= "\t" . String::html2utf(strip_tags($possibleResponses[$value-1]['content'])) . "\n";
1484
												}
1485
											} else {
1486
												$body .= "\t" . String::html2utf(strip_tags($possibleResponses[$reviewFormResponse->getValue()-1]['content'])) . "\n";
1483
											}
1487
											}
1488
											$body .= "\n";
1484
										} else {
1489
										} else {
1485
											$body .= "\t" . String::html2utf(strip_tags($possibleResponses[$reviewFormResponse->getValue()-1]['content'])) . "\n";
1490
											$body .= "\t" . String::html2utf(strip_tags($reviewFormResponse->getValue())) . "\n\n";
1486
										}
1491
										}
1487
										$body .= "\n";
1488
									} else {
1489
										$body .= "\t" . String::html2utf(strip_tags($reviewFormResponse->getValue())) . "\n\n";
1490
									}
1492
									}
1491
								
1492
								}
1493
								}
1493
								$body .= "------------------------------------------------------\n\n";
1494
								$body .= "------------------------------------------------------\n\n";
1494
								$hasBody = true;
1495
								$hasBody = true;

Return to bug 3669