diff options
author | Evan Prodromou <evan@status.net> | 2010-02-27 16:30:38 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-27 16:30:38 -0500 |
commit | 04c4facba9230f40726c5891dcac21d928fbb2ab (patch) | |
tree | 4aa88e655d3beb011c5800a4112efe5232466a1f /classes/Notice.php | |
parent | 4d9daf21493e75354190667e5c1ab3140b46dee1 (diff) |
fix call of common_find_mentions() in Notice::saveReplies()
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 5 |
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(); |