PPTP upgrade needs to declare $config a global.

This commit is contained in:
jim-p 2012-02-01 16:52:10 -05:00
parent 6bc32273fe
commit f33030aa5a

View File

@ -2602,6 +2602,7 @@ function upgrade_076_to_077() {
}
function upgrade_077_to_078() {
global $config;
if (is_array($config['pptpd']) && is_array($config['pptpd']['radius'])
&& !is_array($config['pptpd']['radius']['server'])) {
$radarr = array();