From 4499e2f3b92e10cb63bfa497d989227673d087b6 Mon Sep 17 00:00:00 2001 From: Promofaux Date: Sat, 16 Apr 2016 01:07:33 +0100 Subject: [PATCH] Remove erroneous space after hostname --- data.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data.php b/data.php index cc1df896..a11c9664 100644 --- a/data.php +++ b/data.php @@ -276,6 +276,8 @@ foreach ($hosts as $host){ $x = explode("\t", $host); if ( $var == $x[0] ){ + //For some reason there is an extra space... + $x[1] = substr($x[1],0,strlen($x[1]) -1); $var = $var . " ($x[1])"; } }