Avoid double colon on Notice URI generation

This commit is contained in:
Mikael Nordfeldth 2014-04-18 23:17:34 +02:00
parent e0e69ddd7c
commit 3e2136f222
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ class Notice extends Managed_DataObject
$changed = false;
if (empty($uri)) {
$notice->uri = sprintf('%s:%s=%d:%s=%s',
$notice->uri = sprintf('%s%s=%d:%s=%s',
TagURI::mint(),
'noticeId', $notice->id,
'objectType', $notice->get_object_type(true));