From: Roland Haeder <roland@mxchange.org>
Date: Fri, 12 Sep 2014 20:21:25 +0000 (+0200)
Subject: Fixed ;-)
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e52c231c1478bbbbce1140d9e6c4a0193f011628;p=quix0rs-gnu-social.git

Fixed ;-)

Signed-off-by: Roland Haeder <roland@mxchange.org>
---

diff --git a/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php b/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php
index 27d4d4363c..df8cf24e12 100644
--- a/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php
+++ b/plugins/GroupPrivateMessage/GroupPrivateMessagePlugin.php
@@ -195,6 +195,7 @@ class GroupPrivateMessagePlugin extends Plugin
         assert(is_callable(array($action, 'getGroup')));
 
         $gps = null;
+        $group = $action->getGroup();
 
         if ($action->getGroup() instanceof User_group) {
             $gps = Group_privacy_settings::getKV('group_id', $action->getGroup()->id);