Added a few things to mr

This commit is contained in:
Arturo Gonzalez 2017-03-14 18:53:49 +01:00
parent e7339e3f87
commit a582cb9204
1 changed files with 1 additions and 1 deletions

View File

@ -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) {