From 5d93b9f970a193ecf0fd51cd5174be5af84ddf5a Mon Sep 17 00:00:00 2001 From: Maxim Janssens Date: Wed, 13 Feb 2019 14:58:00 +0100 Subject: [PATCH] COMDEVNL-1790 -- Set update function to download the actual release zip, instead of the source of the module with all the extra scripts. --- admin/controller/payment/mollie/base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/controller/payment/mollie/base.php b/admin/controller/payment/mollie/base.php index 5d7a20c7..886b60d8 100644 --- a/admin/controller/payment/mollie/base.php +++ b/admin/controller/payment/mollie/base.php @@ -714,7 +714,7 @@ function update() //save tmp file $temp_file = MOLLIE_TMP . "/mollieUpdate.zip"; $handle = fopen($temp_file, "w+"); - $content = $client->get($info["zipball_url"], false, false); + $content = $client->get($info["assets"][0]["browser_download_url"], false, false); fwrite($handle, $content); fclose($handle);