From a582cb92048a937cfb5c4ffeede25540affdc251 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Tue, 14 Mar 2017 18:53:49 +0100 Subject: [PATCH] Added a few things to mr --- pandora_console/include/ajax/rolling_release.ajax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/rolling_release.ajax.php b/pandora_console/include/ajax/rolling_release.ajax.php index 8b8693ffb6..e70db25e3f 100644 --- a/pandora_console/include/ajax/rolling_release.ajax.php +++ b/pandora_console/include/ajax/rolling_release.ajax.php @@ -52,7 +52,7 @@ if (is_ajax ()) { else { if (file_exists($dir) && is_dir($dir)) { if (is_readable($dir)) { - if ($number >= $config['MR'] + 1) { + if (($number >= $config['MR'] + 1) || ($number == $config['MR'])) { $message = "bad_mr_filename"; } else if ($config["MR"] >= $number) {