Remove erroneous space after hostname

This commit is contained in:
Promofaux
2016-04-16 01:07:33 +01:00
parent c9e840efa9
commit 4499e2f3b9
+2
View File
@@ -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])";
}
}