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

This commit is contained in:
Yarmo Mackenbach 2020-06-16 00:55:40 +02:00
parent dcdaa3fc25
commit 9f36d26111

View File

@ -172,7 +172,7 @@ function getProjects($params) {
}
function getWebmentions($target) {
$data json_decode(file_get_contents("https://webm.yarmo.eu/get?target=$target"), true);
$data = json_decode(file_get_contents("https://webm.yarmo.eu/get?target=$target"), true);
foreach ($data as $id => $entry) {
$time = strtotime($entry["created_at"]);