Browse Source

miner.php ignore arg when readonly

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

+ 2 - 1
miner.php

@@ -1891,7 +1891,8 @@ function display()
 			$miner = $parts[0];
 			$port = $parts[1];
 
-			$preprocess = $arg;
+			if ($readonly !== true)
+				$preprocess = $arg;
 		}
 	}
  }