miner.php ignore arg when readonly
diff --git a/miner.php b/miner.php
index 3ec9c87..f83a302 100644
--- a/miner.php
+++ b/miner.php
@@ -1891,7 +1891,8 @@ function display()
$miner = $parts[0];
$port = $parts[1];
- $preprocess = $arg;
+ if ($readonly !== true)
+ $preprocess = $arg;
}
}
}