@@ -2263,7 +2263,7 @@ |
||
| 2263 | 2263 | { |
| 2264 | 2264 | uasort($loaded_attachments, function($a, $b) { |
| 2265 | 2265 | if ($a['filesize'] == $b['filesize']) |
| 2266 | - return 0; |
|
| 2266 | + return 0; |
|
| 2267 | 2267 | return ($a['filesize'] < $b['filesize']) ? -1 : 1; |
| 2268 | 2268 | }); |
| 2269 | 2269 | } |
@@ -352,7 +352,7 @@ |
||
| 352 | 352 | elseif (!empty($board)) |
| 353 | 353 | $xml_filename[] = 'board=' . $board; |
| 354 | 354 | $xml_filename[] = $xml_format; |
| 355 | - $xml_filename = strtr(un_htmlspecialchars(implode('-', $xml_filename)), '"', '') ; |
|
| 355 | + $xml_filename = strtr(un_htmlspecialchars(implode('-', $xml_filename)), '"', ''); |
|
| 356 | 356 | |
| 357 | 357 | // First, output the xml header. |
| 358 | 358 | $context['feed']['header'] = '<?xml version="1.0" encoding="' . $context['character_set'] . '"?' . '>'; |
@@ -2261,7 +2261,8 @@ |
||
| 2261 | 2261 | // Sort the attachments by size to make things easier below |
| 2262 | 2262 | if (!empty($loaded_attachments)) |
| 2263 | 2263 | { |
| 2264 | - uasort($loaded_attachments, function($a, $b) { |
|
| 2264 | + uasort($loaded_attachments, function($a, $b) |
|
| 2265 | + { |
|
| 2265 | 2266 | if ($a['filesize'] == $b['filesize']) |
| 2266 | 2267 | return 0; |
| 2267 | 2268 | return ($a['filesize'] < $b['filesize']) ? -1 : 1; |