mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
2c1b94f355
commit
66b5a963e7
@ -40,7 +40,7 @@ abstract class SideReport extends Object {
|
|||||||
|
|
||||||
$fieldName = ereg_replace('[^A-Za-z0-9]+','',$fieldTitle);
|
$fieldName = ereg_replace('[^A-Za-z0-9]+','',$fieldTitle);
|
||||||
if(is_string($fieldSource)) {
|
if(is_string($fieldSource)) {
|
||||||
$val = $record->$fieldSource;
|
$val = Convert::raw2xml($record->$fieldSource);
|
||||||
} else {
|
} else {
|
||||||
$val = $record->val($fieldSource[0], $fieldSource[1]);
|
$val = $record->val($fieldSource[0], $fieldSource[1]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user