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