Fix for replies in Yammer import

This commit is contained in:
Brion Vibber 2010-09-21 16:19:02 -07:00
parent 4b2089dc52
commit 271b553e6e
1 changed files with 3 additions and 3 deletions

View File

@ -200,9 +200,9 @@ class YammerImporter
$options = array();
if ($item['replied_to_id']) {
$replyto = $this->findImportedNotice($item['replied_to_id']);
if ($replyto) {
$options['replyto'] = $replyto;
$replyTo = $this->findImportedNotice($item['replied_to_id']);
if ($replyTo) {
$options['reply_to'] = $replyTo;
}
}
$options['created'] = $this->timestamp($item['created_at']);