diff --git a/src/applications/diviner/controller/DivinerAtomController.php b/src/applications/diviner/controller/DivinerAtomController.php --- a/src/applications/diviner/controller/DivinerAtomController.php +++ b/src/applications/diviner/controller/DivinerAtomController.php @@ -437,7 +437,7 @@ $tasks = $symbol->getAtom()->getDocblockMetaValue('task'); if (!is_array($tasks)) { - if (strlen($tasks)) { + if (phutil_nonempty_string($tasks)) { $tasks = array($tasks); } else { $tasks = array();