Commit 89ff7c0a authored by Malcolm Blaney's avatar Malcolm Blaney
Browse files

Fix typo in last commit.

parent b2c5ce8c
Pipeline #120443067 passed with stage
in 1 minute and 49 seconds
......@@ -737,8 +737,8 @@ function parse_hentry($source, $target = '', $result = '') {
}
}
// Check if the author has set restrictions on reposting their content.
if (isset($entry['properties']['repost-allowed'])) {
$repost_allowed = $entry['properties']['repost-allowed'];
if (isset($entry['properties']['repost-allowed'][0])) {
$repost_allowed = $entry['properties']['repost-allowed'][0];
}
// Check for children of this entry, either comment, like or repost.
if (isset($entry['properties']['comment'])) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment