From de16d3b5053174d5f83dc9cb6bf08f8eec33b173 Mon Sep 17 00:00:00 2001 From: Glutamat42 Date: Thu, 2 Nov 2023 15:32:03 +0100 Subject: [PATCH] fix branch release sets (wrong parameter used for url) --- opt/adler/moodle/adler_setup/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opt/adler/moodle/adler_setup/setup.php b/opt/adler/moodle/adler_setup/setup.php index 93cf2f2..8d9f4b2 100644 --- a/opt/adler/moodle/adler_setup/setup.php +++ b/opt/adler/moodle/adler_setup/setup.php @@ -148,7 +148,7 @@ function get_plugin_config() { } } else { // plugin is a branch - $url = "https://github.com/" . $plugin['url'] . "/archive/refs/heads/" . $plugin['version'] . ".zip"; + $url = "https://github.com/" . $plugin['git_project'] . "/archive/refs/heads/" . $plugin['version'] . ".zip"; } /** @noinspection PhpUndefinedVariableInspection */