mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
API CHANGE: Removed val(). Use XML_val() instead.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@93650 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8d52651923
commit
87bea98bec
@ -48,7 +48,7 @@ abstract class SideReport extends Object {
|
|||||||
if(is_string($fieldSource)) {
|
if(is_string($fieldSource)) {
|
||||||
$val .= Convert::raw2xml($record->$fieldSource);
|
$val .= Convert::raw2xml($record->$fieldSource);
|
||||||
} else {
|
} else {
|
||||||
$val .= $record->val($fieldSource[0], $fieldSource[1]);
|
$val .= $record->XML_val($fieldSource[0], $fieldSource[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($fieldInfo['newline']) && $fieldInfo['newline']) $result .= "<br>";
|
if(isset($fieldInfo['newline']) && $fieldInfo['newline']) $result .= "<br>";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user