From 3e2136f222fdb76d4d6d661180ef96a95ca3aa75 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Fri, 18 Apr 2014 23:17:34 +0200 Subject: [PATCH] Avoid double colon on Notice URI generation --- classes/Notice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.39.5