We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 894-900 (lines=7) @@ | ||
| 891 | } |
|
| 892 | ||
| 893 | // Set title to empty string if not present. |
|
| 894 | if (empty($metadata['title'][0])) { |
|
| 895 | ||
| 896 | $metadata['title'][0] = ''; |
|
| 897 | ||
| 898 | $metadata['title_sorting'][0] = ''; |
|
| 899 | ||
| 900 | } |
|
| 901 | ||
| 902 | } else { |
|
| 903 | ||
| @@ 1571-1578 (lines=8) @@ | ||
| 1568 | } |
|
| 1569 | ||
| 1570 | // If volume_sorting is still empty, try to use title_sorting finally (workaround for newspapers) |
|
| 1571 | if (empty($metadata['volume_sorting'][0])) { |
|
| 1572 | ||
| 1573 | if (!empty($metadata['title_sorting'][0])) { |
|
| 1574 | ||
| 1575 | $metadata['volume_sorting'][0] = $metadata['title_sorting'][0]; |
|
| 1576 | ||
| 1577 | } |
|
| 1578 | } |
|
| 1579 | ||
| 1580 | } |
|
| 1581 | ||