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
f7d322a004
commit
32ab772615
@ -175,8 +175,8 @@ class SS_Report extends ViewableData {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
if($this->description) $fields->push(
|
if($this->description()) $fields->push(
|
||||||
new LiteralField('ReportDescription', "<p>{$this->description}</p>"));
|
new LiteralField('ReportDescription', "<p>" . $this->description() . "</p>"));
|
||||||
|
|
||||||
// Add search fields is available
|
// Add search fields is available
|
||||||
if($params = $this->parameterFields()) {
|
if($params = $this->parameterFields()) {
|
||||||
@ -508,7 +508,7 @@ abstract class SS_ReportWrapper extends SS_Report {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function description() {
|
function description() {
|
||||||
return $this->baseReport->title();
|
return $this->baseReport->description();
|
||||||
}
|
}
|
||||||
|
|
||||||
function canView() {
|
function canView() {
|
||||||
|
Loading…
Reference in New Issue
Block a user