diff --git a/miner.php b/miner.php
index 3b03a0a5..7c4d8891 100644
--- a/miner.php
+++ b/miner.php
@@ -98,7 +98,7 @@ function htmlhead($checkapi, $rig)
$paramrig = '';
if ($rig != null && $rig != '')
- $paramrig .= "&rig=$rig";
+ $paramrig = "&rig=$rig";
if ($ignorerefresh == true || $autorefresh == 0)
$refreshmeta = '';
@@ -947,7 +947,7 @@ function doOne($rig, $preprocess)
{
$rg = '';
if (count($rigs) > 1)
- $rg .= " Rig $rig";
+ $rg = " Rig $rig";
echo "";
echo " ";
}