From d83abe0860e13d599b34e7e150e4ba2fd571db93 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Thu, 25 Feb 2016 02:27:22 -0500
Subject: [PATCH] validate serverip depending on ipv4/ipv6

---
 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