@@ -194,8 +194,9 @@ |
||
194 | 194 | $thumbnail_count = 0; |
195 | 195 | foreach ($image_files as $image) { |
196 | 196 | |
197 | - if (strpos(basename($image),'-')===false) |
|
198 | - continue; |
|
197 | + if (strpos(basename($image),'-')===false) { |
|
198 | + continue; |
|
199 | + } |
|
199 | 200 | |
200 | 201 | $image_partition = explode('-', basename($image)); |
201 | 202 | $parent_thumbnail_name = $image_partition[0].'-'.$image_partition[1]; |