forked from GNUsocial/gnu-social
Avoid double colon on Notice URI generation
This commit is contained in:
parent
e0e69ddd7c
commit
3e2136f222
@ -593,7 +593,7 @@ class Notice extends Managed_DataObject
|
|||||||
$changed = false;
|
$changed = false;
|
||||||
|
|
||||||
if (empty($uri)) {
|
if (empty($uri)) {
|
||||||
$notice->uri = sprintf('%s:%s=%d:%s=%s',
|
$notice->uri = sprintf('%s%s=%d:%s=%s',
|
||||||
TagURI::mint(),
|
TagURI::mint(),
|
||||||
'noticeId', $notice->id,
|
'noticeId', $notice->id,
|
||||||
'objectType', $notice->get_object_type(true));
|
'objectType', $notice->get_object_type(true));
|
||||||
|
Loading…
Reference in New Issue
Block a user