Fix project webmentions
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Yarmo Mackenbach 2020-06-19 11:46:06 +02:00
parent f20ca66fa2
commit bc483167ad

View File

@ -162,7 +162,7 @@ function getProjects($params) {
}
if (isset($params['slug'])) {
$project["webmentions"] = getWebmentions($post["url"]);
$project["webmentions"] = getWebmentions($project["url"]);
$project["hasWebmentions"] = count($project["webmentions"]) > 0;
}