From: Evan Prodromou Date: Sat, 27 Feb 2010 21:30:38 +0000 (-0500) Subject: fix call of common_find_mentions() in Notice::saveReplies() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=04c4facba9230f40726c5891dcac21d928fbb2ab;p=quix0rs-gnu-social.git fix call of common_find_mentions() in Notice::saveReplies() --- diff --git a/classes/Notice.php b/classes/Notice.php index 6614f3d558..3702dbcfa8 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -973,7 +973,10 @@ class Notice extends Memcached_DataObject $sender = Profile::staticGet($this->profile_id); - $mentions = common_find_mentions($this->profile_id, $this->content); + // @todo ideally this parser information would only + // be calculated once. + + $mentions = common_find_mentions($this->content, $this); $replied = array();