]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix for regression in updated mention checks, sometimes lost links to folks mentioned...
authorBrion Vibber <brion@pobox.com>
Tue, 2 Mar 2010 17:53:00 +0000 (09:53 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 2 Mar 2010 17:53:00 +0000 (09:53 -0800)
lib/util.php

index d12a7920d2d458e421ba841d2e453d72378f7b99..485f6f0d9d106944ced7353218c1d4077f208937 100644 (file)
@@ -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);
             }