Browse Source

miner.php remove unneeded '.'s

Kano 13 years ago
parent
commit
5ef8528470
1 changed files with 2 additions and 2 deletions
  1. 2 2
      miner.php

+ 2 - 2
miner.php

@@ -98,7 +98,7 @@ function htmlhead($checkapi, $rig)
 
 
  $paramrig = '';
  $paramrig = '';
  if ($rig != null && $rig != '')
  if ($rig != null && $rig != '')
-	$paramrig .= "&rig=$rig";
+	$paramrig = "&rig=$rig";
 
 
  if ($ignorerefresh == true || $autorefresh == 0)
  if ($ignorerefresh == true || $autorefresh == 0)
 	$refreshmeta = '';
 	$refreshmeta = '';
@@ -947,7 +947,7 @@ function doOne($rig, $preprocess)
  {
  {
 	$rg = '';
 	$rg = '';
 	if (count($rigs) > 1)
 	if (count($rigs) > 1)
-		$rg .= " Rig $rig";
+		$rg = " Rig $rig";
 	echo "<input type=button value='Restart' onclick='prc(\"restart&rig=$rig\",\"Restart CGMiner$rg\")'>";
 	echo "<input type=button value='Restart' onclick='prc(\"restart&rig=$rig\",\"Restart CGMiner$rg\")'>";
 	echo "&nbsp;<input type=button value='Quit' onclick='prc(\"quit&rig=$rig\",\"Quit CGMiner$rg\")'>";
 	echo "&nbsp;<input type=button value='Quit' onclick='prc(\"quit&rig=$rig\",\"Quit CGMiner$rg\")'>";
  }
  }