'type' => 'objectType' for embedded activities

This commit is contained in:
Evan Prodromou 2011-07-18 17:42:28 -04:00
parent d277f343ca
commit 4a6f576478

View File

@ -435,7 +435,7 @@ class Activity
if ($object instanceof Activity) {
// throw in a type
// XXX: hackety-hack
$oa['type'] = 'activity';
$oa['objectType'] = 'activity';
}
$activity['object'][] = $oa;
}