Merged revisions 50361 via svnmerge from

http://svn.silverstripe.com/open/modules/cms/branches/2.2.2

........
  r50361 | sminnee | 2008-02-28 14:12:53 +1300 (Thu, 28 Feb 2008) | 1 line
  
  Fixed newlines in to-do report
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@50852 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-03-11 01:20:37 +00:00
parent 2c1b94f355
commit 66b5a963e7

View File

@ -40,7 +40,7 @@ abstract class SideReport extends Object {
$fieldName = ereg_replace('[^A-Za-z0-9]+','',$fieldTitle);
if(is_string($fieldSource)) {
$val = $record->$fieldSource;
$val = Convert::raw2xml($record->$fieldSource);
} else {
$val = $record->val($fieldSource[0], $fieldSource[1]);
}
@ -122,4 +122,4 @@ class SideReport_ToDo extends SideReport {
);
}
}
?>
?>