summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-02 09:53:00 -0800
committerBrion Vibber <brion@pobox.com>2010-03-02 09:53:00 -0800
commitf596e072e79ec87541b27008ea2327275e5fc669 (patch)
treefd2d8ed25de6b39840ab6c731833671f14e40dba
parentc38ed1bb194ebba9ec73d0b4cde28ea4fb0bd001 (diff)
Fix for regression in updated mention checks, sometimes lost links to folks mentioned in the replied message.
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index d12a7920d..485f6f0d9 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -550,7 +550,7 @@ function common_find_mentions($text, $notice)
} else if (!empty($originalMentions) &&
array_key_exists($nickname, $originalMentions)) {
- $mention = $originalMentions[$nickname];
+ $mentioned = $originalMentions[$nickname];
} else {
$mentioned = common_relative_profile($sender, $nickname);
}