mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: Use SSReport::description() (by sminnee, merged from r100009)
This commit is contained in:
parent
56cfff33e3
commit
be3d357359
@ -175,8 +175,8 @@ class SS_Report extends ViewableData {
|
||||
)
|
||||
);
|
||||
|
||||
if($this->description) $fields->push(
|
||||
new LiteralField('ReportDescription', "<p>{$this->description}</p>"));
|
||||
if($this->description()) $fields->push(
|
||||
new LiteralField('ReportDescription', "<p>" . $this->description() . "</p>"));
|
||||
|
||||
// Add search fields is available
|
||||
if($params = $this->parameterFields()) {
|
||||
@ -508,7 +508,7 @@ abstract class SS_ReportWrapper extends SS_Report {
|
||||
}
|
||||
|
||||
function description() {
|
||||
return $this->baseReport->title();
|
||||
return $this->baseReport->description();
|
||||
}
|
||||
|
||||
function canView() {
|
||||
|
Loading…
Reference in New Issue
Block a user