mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-06-28 07:29:32 +02:00
Merge pull request #1159 from micmania1/patch-3
BUG Correctly sanitise Title
This commit is contained in:
commit
cfcbfea88e
|
@ -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