|
@@ -194,10 +194,10 @@ |
|
|
block discarded – undo |
|
194
|
194
|
$thumbnail_count = 0; |
|
195
|
195
|
foreach ($image_files as $image) { |
|
196
|
196
|
|
|
197
|
|
- if (strpos(basename($image),'-')===false) |
|
|
197
|
+ if (strpos(basename($image),'-')===false) |
|
198
|
198
|
continue; |
|
199
|
199
|
|
|
200
|
|
- $image_partition = explode('-', basename($image)); |
|
|
200
|
+ $image_partition = explode('-', basename($image)); |
|
201
|
201
|
$parent_thumbnail_name = $image_partition[0].'-'.$image_partition[1]; |
|
202
|
202
|
if ($parent_name == $parent_thumbnail_name) { |
|
203
|
203
|
$thumbnail_count++; |
Please login to merge, or discard this patch.