From: Mikael Nordfeldth Date: Fri, 18 Apr 2014 21:17:34 +0000 (+0200) Subject: Avoid double colon on Notice URI generation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3e2136f222fdb76d4d6d661180ef96a95ca3aa75;p=quix0rs-gnu-social.git Avoid double colon on Notice URI generation --- diff --git a/classes/Notice.php b/classes/Notice.php index aadfc78cd0..56be89fb12 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -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));