Fix the switch on type

This commit is contained in:
Evan Prodromou 2013-06-05 16:58:31 -04:00
parent 0e83c5c824
commit 221c724b4c
1 changed files with 1 additions and 1 deletions

View File

@ -867,7 +867,7 @@ class ActivityObject
}
}
switch (ActivityObject::canonicalType($object->type)) {
switch (ActivityObject::canonicalType($this->type)) {
case 'image':
if (!empty($this->largerImage)) {
$object['fullImage'] = array('url' => $this->largerImage);