Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15460218
D21062.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
655 B
Referenced Files
None
Subscribers
None
D21062.id.diff
View Options
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
@@ -435,6 +435,15 @@
$task_specs = array();
$tasks = $symbol->getAtom()->getDocblockMetaValue('task');
+
+ if (!is_array($tasks)) {
+ if (strlen($tasks)) {
+ $tasks = array($tasks);
+ } else {
+ $tasks = array();
+ }
+ }
+
if ($tasks) {
foreach ($tasks as $task) {
list($name, $title) = explode(' ', $task, 2);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 1, 9:01 PM (1 d, 31 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390521
Default Alt Text
D21062.id.diff (655 B)
Attached To
Mode
D21062: Refine handling of "@task" attributes in Diviner
Attached
Detach File
Event Timeline
Log In to Comment