Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2683082
D25690.1734680961.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
654 B
Referenced Files
None
Subscribers
None
D25690.1734680961.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
@@ -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
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 07:49 (17 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016767
Default Alt Text
D25690.1734680961.diff (654 B)
Attached To
Mode
D25690: Fix "Undefined offset: 1" exception in Diviner when @task value in PHPDoc is a single word
Attached
Detach File
Event Timeline
Log In to Comment