Fix the switch on type

This commit is contained in:
Evan Prodromou 2013-06-05 16:58:31 -04:00
parent 0e83c5c824
commit 221c724b4c

View File

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