mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00: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',
|
||||
"This is a virtual page copying content from \"{title}\" ({link})",
|
||||
array(
|
||||
'title' => $this->CopyContentFrom()->Title,
|
||||
'title' => $this->CopyContentFrom()->obj('Title'),
|
||||
'link' => $link
|
||||
)
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user