diff options
author | Luke Bratch <luke@bratch.co.uk> | 2017-06-21 22:01:09 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2017-06-21 22:01:09 +0100 |
commit | 6af4dfdfc7f60881aa826a1a3da91f108427df6d (patch) | |
tree | 24aff9f9e1dc1ad1f23fa09c28b91a5d1e02a545 /index.php | |
parent | 53cf517409b23428b8d64eb578ac1faa59bf83be (diff) |
Fix incorrect variable name
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ foreach ($divs as $div) { // If we get a min without a max, we're probably in night mode (only min and current listed) if ($span->nodeValue == "Max") { $maxcount++; - } else if ($span->nodeValue == "Min" && $max < 1) { + } else if ($span->nodeValue == "Min" && $maxcount < 1) { $nightmode = 1; } else if ($span->nodeValue == "Min") { $maxcount--; |