1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

Dont display empty other locations of lint errors

This commit is contained in:
vrana 2013-02-12 14:01:27 -08:00
parent eb942f3e1e
commit 5a9e834658

View file

@ -117,7 +117,7 @@ final class DifferentialLintFieldSpecification
'show' => $show, 'show' => $show,
); );
if (isset($message['locations'])) { if (!empty($message['locations'])) {
$locations = array(); $locations = array();
foreach ($message['locations'] as $location) { foreach ($message['locations'] as $location) {
$other_line = idx($location, 'line'); $other_line = idx($location, 'line');