mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 20:09:44 +00:00
CE-3554: Combine two lines to one
This commit is contained in:
parent
d340841e17
commit
9f7c54012b
|
@ -38,8 +38,7 @@ class Node {
|
|||
if ( count( $sources ) > 1 ) {
|
||||
foreach ( $sources as $source ) {
|
||||
if ( !empty( $source ) ) {
|
||||
$sourceLabel = !empty( $label ) ? "{$label} ({$source})" : '';
|
||||
$sourceLabels[$source] = $sourceLabel;
|
||||
$sourceLabels[$source] = !empty( $label ) ? "{$label} ({$source})" : '';
|
||||
}
|
||||
}
|
||||
} elseif ( !empty( $sources[0] ) ) {
|
||||
|
|
Loading…
Reference in a new issue