1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

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'); $coverage = idx($dict, 'coverage');
if (strlen($coverage)) { if ($coverage) {
$obj->setProperty('coverage', $coverage); $obj->setProperty('coverage', $coverage);
} }