diff --git a/module/updates.php b/module/updates.php
index 0b6ffaf46f2bdd5d32d4ef1ebee28d8c2512fea3..8e8429f0c57f26d9e717e41f7c4b01d84cdc82ee 100644
--- a/module/updates.php
+++ b/module/updates.php
@@ -20,7 +20,7 @@ if (isset($_GET['do_update'])) {
 }
 if (isset($_SERVER['HTTP_X_GITLAB_EVENT']) && $_SERVER['HTTP_X_GITLAB_EVENT'] == "Tag Push Hook") {
 	$data = json_decode(file_get_contents("php://input"), true);
-	if (strpos($data["ref"], "refs/tags/") === 0 && $data["web_url"] == $GLOBALS["config"]["updates"]["web_url"]) {
+	if (strpos($data["ref"], "refs/tags/") === 0 && $data["project"]["web_url"] == $GLOBALS["config"]["updates"]["web_url"]) {
 		$tag = str_replace("refs/tags/", "", $data["ref"]);
 		if (strpos($tag, "-" . $GLOBALS["config"]["updates"]["tag_type"]) !== FALSE) {
 			$GLOBALS["config"]["updates"]["latest_tag"] = $tag;