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/sectionEditor/SectionEditorAction.inc.php (-10 / +12 lines)
 Lines 1902-1920    Link Here 
1902
								foreach ($reviewFormElements as $reviewFormElement) {
1902
								foreach ($reviewFormElements as $reviewFormElement) {
1903
									$body .= $reviewFormElement->getReviewFormElementQuestion() . ": \n";
1903
									$body .= $reviewFormElement->getReviewFormElementQuestion() . ": \n";
1904
									$reviewFormResponse = $reviewFormResponseDao->getReviewFormResponse($reviewId, $reviewFormElement->getReviewFormElementId());
1904
									$reviewFormResponse = $reviewFormResponseDao->getReviewFormResponse($reviewId, $reviewFormElement->getReviewFormElementId());
1905
			
1905
									
1906
									$possibleResponses = $reviewFormElement->getReviewFormElementPossibleResponses();
1906
									if ($reviewFormResponse) {
1907
									if (in_array($reviewFormElement->getElementType(), $reviewFormElement->getMultipleResponsesElementTypes())) {
1907
										$possibleResponses = $reviewFormElement->getReviewFormElementPossibleResponses();
1908
										if ($reviewFormElement->getElementType() == REVIEW_FORM_ELEMENT_TYPE_CHECKBOXES) {
1908
										if (in_array($reviewFormElement->getElementType(), $reviewFormElement->getMultipleResponsesElementTypes())) {
1909
											foreach ($reviewFormResponse->getValue() as $value) {
1909
											if ($reviewFormElement->getElementType() == REVIEW_FORM_ELEMENT_TYPE_CHECKBOXES) {
1910
												$body .= "\t" . String::html2utf(strip_tags($possibleResponses[$value-1]['content'])) . "\n";
1910
												foreach ($reviewFormResponse->getValue() as $value) {
1911
													$body .= "\t" . String::html2utf(strip_tags($possibleResponses[$value-1]['content'])) . "\n";
1912
												}
1913
											} else {
1914
												$body .= "\t" . String::html2utf(strip_tags($possibleResponses[$reviewFormResponse->getValue()-1]['content'])) . "\n";
1911
											}
1915
											}
1916
											$body .= "\n";
1912
										} else {
1917
										} else {
1913
											$body .= "\t" . String::html2utf(strip_tags($possibleResponses[$reviewFormResponse->getValue()-1]['content'])) . "\n";
1918
											$body .= "\t" . String::html2utf(strip_tags($reviewFormResponse->getValue())) . "\n\n";
1914
										}
1919
										}
1915
										$body .= "\n";
1916
									} else {
1917
										$body .= "\t" . String::html2utf(strip_tags($reviewFormResponse->getValue())) . "\n\n";
1918
									}
1920
									}
1919
								
1921
								
1920
								}
1922
								}

Return to bug 3669