summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2017-02-28 09:33:22 -0800
committerAaron Parecki <aaron@parecki.com>2017-02-28 09:33:22 -0800
commitb83b4cc885b30c8644233858017b8bac69ef2082 (patch)
tree8d6394780a24b15cbb0b41f59e9edff7a33c6303
parent0efdc08f41aa4e5e06136c60e4a031d83b3452f7 (diff)
quill should send an array when editing
-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);