Completed
Push — master ( f1e9b7...0d2f95 )
by Angus
26:03
created
application/models/Tracker/Sites/MangaFox.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,8 +144,12 @@
 block discarded – undo
144 144
 				$oldVolume = substr(array_shift($oldChapterSegments), 1);
145 145
 				$newVolume = substr(array_shift($newChapterSegments), 1);
146 146
 
147
-				if(in_array($oldVolume, ['TBD', 'TBA', 'NA', 'LMT'])) $oldVolume = 999;
148
-				if(in_array($newVolume, ['TBD', 'TBA', 'NA', 'LMT'])) $newVolume = 999;
147
+				if(in_array($oldVolume, ['TBD', 'TBA', 'NA', 'LMT'])) {
148
+					$oldVolume = 999;
149
+				}
150
+				if(in_array($newVolume, ['TBD', 'TBA', 'NA', 'LMT'])) {
151
+					$newVolume = 999;
152
+				}
149 153
 
150 154
 				$oldVolume = floatval($oldVolume);
151 155
 				$newVolume = floatval($newVolume);
Please login to merge, or discard this patch.
application/models/Tracker/Sites/Batoto.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -203,8 +203,12 @@
 block discarded – undo
203 203
 				$oldVolume = substr(array_shift($oldChapterSegments), 1);
204 204
 				$newVolume = substr(array_shift($newChapterSegments), 1);
205 205
 
206
-				if(in_array($oldVolume, ['TBD', 'TBA', 'NA', 'LMT'])) $oldVolume = 999;
207
-				if(in_array($newVolume, ['TBD', 'TBA', 'NA', 'LMT'])) $newVolume = 999;
206
+				if(in_array($oldVolume, ['TBD', 'TBA', 'NA', 'LMT'])) {
207
+					$oldVolume = 999;
208
+				}
209
+				if(in_array($newVolume, ['TBD', 'TBA', 'NA', 'LMT'])) {
210
+					$newVolume = 999;
211
+				}
208 212
 
209 213
 				$oldVolume = floatval($oldVolume);
210 214
 				$newVolume = floatval($newVolume);
Please login to merge, or discard this patch.