Don't try to strlen() an array

This is definitely an array now.

Auditors: joshuaspence
This commit is contained in:
epriestley
2015-06-25 16:17:45 -07:00
parent 0094343556
commit cee1835bb0

View File

@@ -52,7 +52,7 @@ final class HarbormasterBuildUnitMessage
}
$coverage = idx($dict, 'coverage');
if (strlen($coverage)) {
if ($coverage) {
$obj->setProperty('coverage', $coverage);
}