mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
BUG Correctly sanitise Title
This commit is contained in:
parent
ee4639ed74
commit
7733c4335e
@ -198,7 +198,7 @@ class VirtualPage extends Page {
|
|||||||
'VirtualPage.HEADERWITHLINK',
|
'VirtualPage.HEADERWITHLINK',
|
||||||
"This is a virtual page copying content from \"{title}\" ({link})",
|
"This is a virtual page copying content from \"{title}\" ({link})",
|
||||||
array(
|
array(
|
||||||
'title' => $this->CopyContentFrom()->Title,
|
'title' => $this->CopyContentFrom()->obj('Title'),
|
||||||
'link' => $link
|
'link' => $link
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user