From 221c724b4c67f8eef86e8ddb15fb02549f82dcb7 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 5 Jun 2013 16:58:31 -0400 Subject: [PATCH] Fix the switch on type --- lib/activityobject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/activityobject.php b/lib/activityobject.php index f83fde73e1..97cf0f5d79 100644 --- a/lib/activityobject.php +++ b/lib/activityobject.php @@ -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);