summaryrefslogtreecommitdiff
path: root/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'controllers')
-rw-r--r--controllers/controllers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/controllers.php b/controllers/controllers.php
index 2491081..a754806 100644
--- a/controllers/controllers.php
+++ b/controllers/controllers.php
@@ -412,7 +412,7 @@ function edit_favorite(&$user, $post_url, $like_of) {
'action' => 'update',
'url' => $post_url,
'replace' => [
- 'like-of' => $like_of
+ 'like-of' => [$like_of]
]
];
$r = micropub_post_for_user($user, $micropub_request, null, true);