Correct doubly-escaped " marks

The links in the Broken Links Report had extraneous " marks that made
them unusable. This fixes the links.
This commit is contained in:
Fred Condo 2015-07-01 17:42:26 -07:00
parent 284a0f0e13
commit f9cceaada0

View File

@ -83,7 +83,7 @@ class BrokenLinksReport extends SS_Report {
"Title" => array( "Title" => array(
"title" => _t('BrokenLinksReport.PageName', 'Page name'), "title" => _t('BrokenLinksReport.PageName', 'Page name'),
'formatting' => function($value, $item) use ($linkBase) { 'formatting' => function($value, $item) use ($linkBase) {
return sprintf('<a href=\"%s\" title=\"%s\">%s</a>', return sprintf('<a href="%s" title="%s">%s</a>',
Controller::join_links($linkBase, $item->ID), Controller::join_links($linkBase, $item->ID),
_t('BrokenLinksReport.HoverTitleEditPage', 'Edit page'), _t('BrokenLinksReport.HoverTitleEditPage', 'Edit page'),
$value $value