summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-27 16:30:38 -0500
committerEvan Prodromou <evan@status.net>2010-02-27 16:30:38 -0500
commit04c4facba9230f40726c5891dcac21d928fbb2ab (patch)
tree4aa88e655d3beb011c5800a4112efe5232466a1f /classes
parent4d9daf21493e75354190667e5c1ab3140b46dee1 (diff)
fix call of common_find_mentions() in Notice::saveReplies()
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index 6614f3d55..3702dbcfa 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();