Page MenuHomePhorge

D25690.1737750989.diff
No OneTemporary

D25690.1737750989.diff

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
@@ -446,7 +446,11 @@
if ($tasks) {
foreach ($tasks as $task) {
- list($name, $title) = explode(' ', $task, 2);
+ if (strpos($task, ' ') !== false) {
+ list($name, $title) = explode(' ', $task, 2);
+ } else {
+ list($name, $title) = array($task, '');
+ }
$name = trim($name);
$title = trim($title);

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 20:36 (5 d, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113032
Default Alt Text
D25690.1737750989.diff (654 B)

Event Timeline