From 7d67eefdf501f492e29f59971ac288e0414dc5b0 Mon Sep 17 00:00:00 2001
From: Mikael Nordfeldth <mmn@hethane.se>
Date: Tue, 13 Sep 2016 11:24:57 +0200
Subject: [PATCH] wrong variable was referenced

---
 lib/activityhandlerplugin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/activityhandlerplugin.php b/lib/activityhandlerplugin.php
index b22096be0e..6e58a05b31 100644
--- a/lib/activityhandlerplugin.php
+++ b/lib/activityhandlerplugin.php
@@ -553,7 +553,7 @@ abstract class ActivityHandlerPlugin extends Plugin
             $class .= ' limited-scope';
         }
         try {
-            $class .= ' notice-source-'.common_to_alphanumeric($this->notice->source);
+            $class .= ' notice-source-'.common_to_alphanumeric($nli->notice->source);
         } catch (Exception $e) {
             // either source or what we filtered out was a zero-length string
         }
-- 
2.39.5