Use branch master if release is manually set to an empty string

This commit is contained in:
Daniil Gentili 2018-12-28 13:02:00 +01:00
parent d9673bfab7
commit 911f6a9d5b

View File

@ -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) {