Added a few modifications to rr

This commit is contained in:
Arturo Gonzalez 2017-03-15 09:36:31 +01:00
parent ebf6c26e0a
commit a4512ceae2
1 changed files with 2 additions and 2 deletions

View File

@ -50,10 +50,10 @@ if (is_ajax ()) {
else {
if (file_exists($dir) && is_dir($dir)) {
if (is_readable($dir)) {
if (($number >= $config['MR'] + 1) || ($number == $config['MR'])) {
if (($number > $config['MR'] + 1) || ($number == $config['MR'])) {
$message = "bad_mr_filename";
}
else if ($config["MR"] >= $number) {
else if ($config["MR"] > $number) {
if (!file_exists($dir."/updated") || !is_dir($dir."/updated")) {
mkdir($dir."/updated");
}