Ensure this gets a set default value or things can break

This commit is contained in:
jim-p 2012-08-01 14:53:45 -04:00
parent a0d1a4678e
commit f7c8f633b6

View File

@ -2608,6 +2608,9 @@ function upgrade_077_to_078() {
$radarr['server'] = $radsvr;
$config['pptpd']['radius'] = $radarr;
}
if (is_array($config['pptpd'])) {
$config['pptpd']['n_pptp_units'] = empty($config['pptpd']['n_pptp_units']) ? 16 : $config['pptpd']['n_pptp_units'];
}
}
function upgrade_078_to_079() {
global $g;