Fix the switch on type
This commit is contained in:
parent
0e83c5c824
commit
221c724b4c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user