Index: trunk/extensions/LiquidThreads/api/ApiThreadAction.php |
— | — | @@ -350,7 +350,7 @@ |
351 | 351 | $result = array( |
352 | 352 | 'result' => 'Success', |
353 | 353 | 'thread-id' => $thread->id(), |
354 | | - 'thread-title' => $thread->title()->getPrefixedText(), |
| 354 | + 'thread-title' => $title->getPrefixedText(), |
355 | 355 | ); |
356 | 356 | |
357 | 357 | $result = array( 'thread' => $result ); |
— | — | @@ -439,7 +439,7 @@ |
440 | 440 | 'action' => 'reply', |
441 | 441 | 'result' => 'Success', |
442 | 442 | 'thread-id' => $thread->id(), |
443 | | - 'thread-title' => $thread->title()->getPrefixedText(), |
| 443 | + 'thread-title' => $title->getPrefixedText(), |
444 | 444 | 'parent-id' => $replyTo->id(), |
445 | 445 | 'parent-title' => $replyTo->title()->getPrefixedText(), |
446 | 446 | 'ancestor-id' => $replyTo->topmostThread()->id(), |