CE-3554: Combine two lines to one

This commit is contained in:
Lukasz Konieczny 2016-04-05 09:58:19 +00:00
parent d340841e17
commit 9f7c54012b

View file

@ -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] ) ) {