From be08cdebf7c631f0f851824bb0d7df69d6711bfa Mon Sep 17 00:00:00 2001
From: Till Brehm <tbrehm@ispconfig.org>
Date: Thu, 30 Jun 2016 13:26:08 -0400
Subject: [PATCH] Fixed: Issue #3991 hailed users dont get removed correctly from /etc/passwd

---
 interface/lib/classes/plugin.inc.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/interface/lib/classes/plugin.inc.php b/interface/lib/classes/plugin.inc.php
index 3c9a446..8a8ac20 100644
--- a/interface/lib/classes/plugin.inc.php
+++ b/interface/lib/classes/plugin.inc.php
@@ -121,7 +121,7 @@
 
 		if(is_array($sub_events)) {
 			if(count($sub_events) == 3) {
-				$mp_event = $sub_events[2];
+				$tmp_event = $sub_events[2];
 				if($this->debug) $app->log("Called Event '$tmp_event'", LOGLEVEL_DEBUG);
 				$tmpresult = $this->callPluginEvent($tmp_event, $data, $return_data);
 				if($return_data == true && $tmpresult) $result .= $tmpresult;

--
Gitblit v1.9.1