Fix the switch on type

This commit is contained in:
Evan Prodromou 2013-06-05 16:58:31 -04:00
parent a6bb41a742
commit 77f23354ad

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);