Commit 8aeabf67c87e0f87453c222021a097fb760b31b0

Kano 2012-07-05T10:17:35

miner.php remove incorrect 'DATE' error message

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/miner.php b/miner.php
index e0fc398..65a82e6 100644
--- a/miner.php
+++ b/miner.php
@@ -1268,7 +1268,8 @@ function processcustompage($pagename, $sections, $sum)
 			$cmds[$cmd] = 1;
 	}
 	else
-		$errors[] = "Error: unknown section '$section' in custom summary page '$pagename'";
+		if ($section != 'DATE')
+			$errors[] = "Error: unknown section '$section' in custom summary page '$pagename'";
  }
 
  $results = array();