From cee1835bb01c3584961154e29df1cd9249b17e49 Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 25 Jun 2015 16:17:45 -0700 Subject: [PATCH] Don't try to strlen() an array This is definitely an array now. Auditors: joshuaspence --- .../harbormaster/storage/build/HarbormasterBuildUnitMessage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/harbormaster/storage/build/HarbormasterBuildUnitMessage.php b/src/applications/harbormaster/storage/build/HarbormasterBuildUnitMessage.php index 125334079d..4e0e214961 100644 --- a/src/applications/harbormaster/storage/build/HarbormasterBuildUnitMessage.php +++ b/src/applications/harbormaster/storage/build/HarbormasterBuildUnitMessage.php @@ -52,7 +52,7 @@ final class HarbormasterBuildUnitMessage } $coverage = idx($dict, 'coverage'); - if (strlen($coverage)) { + if ($coverage) { $obj->setProperty('coverage', $coverage); }