From 5a9e834658547b3e65c87e8fe846a8754b7d28bc Mon Sep 17 00:00:00 2001 From: vrana Date: Tue, 12 Feb 2013 14:01:27 -0800 Subject: [PATCH] Dont display empty other locations of lint errors --- .../field/specification/DifferentialLintFieldSpecification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/differential/field/specification/DifferentialLintFieldSpecification.php b/src/applications/differential/field/specification/DifferentialLintFieldSpecification.php index 8c9e7b9639..f15f718245 100644 --- a/src/applications/differential/field/specification/DifferentialLintFieldSpecification.php +++ b/src/applications/differential/field/specification/DifferentialLintFieldSpecification.php @@ -117,7 +117,7 @@ final class DifferentialLintFieldSpecification 'show' => $show, ); - if (isset($message['locations'])) { + if (!empty($message['locations'])) { $locations = array(); foreach ($message['locations'] as $location) { $other_line = idx($location, 'line');