From 911f6a9d5bb060d13003d7eb252ae925848238b4 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Fri, 28 Dec 2018 13:02:00 +0100 Subject: [PATCH] Use branch master if release is manually set to an empty string --- phar.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phar.php b/phar.php index 2a0b1903..7dc9b177 100644 --- a/phar.php +++ b/phar.php @@ -40,6 +40,7 @@ function ___install_madeline() $phar_template = 'https://phar.madelineproto.xyz/madeline%s.phar?v=new'; $release_branch = defined('MADELINE_BRANCH') ? '-'.MADELINE_BRANCH : '-old'; + if ($release_branch === '-') $release_branch = ''; $release_default = ''; if (PHP_MAJOR_VERSION === 5) {