diff --git a/code/model/SiteTree.php b/code/model/SiteTree.php index 02b51681..4e322eb2 100644 --- a/code/model/SiteTree.php +++ b/code/model/SiteTree.php @@ -1830,14 +1830,14 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid ->setFieldFormatting(array( 'Title' => function($value, &$item) { return sprintf( - '%s', + '%s', (int)$item->ID, Convert::raw2xml($item->Title) ); }, 'AbsoluteLink' => function($value, &$item) { return sprintf( - '%s', + '%s', Convert::raw2xml($value), Convert::raw2xml($value) );