diff --git a/lib/Pprocess.php b/lib/Pprocess.php index b60c22ed6..6e672ef6a 100644 --- a/lib/Pprocess.php +++ b/lib/Pprocess.php @@ -358,14 +358,12 @@ class PProcess ) ) === false ) { - // Try to add the files to the DB. if ($this->releaseFiles->add($relID, $file['name'], $file['size'], $query['post_date'], 0)) { $filesAdded++; } - } - } else { - $filesAdded++; + } else { + $filesAdded++; } // Try to get a new name.