Permalink
Browse files

Add missing declaration for global variable $g where it is used.

  • Loading branch information...
efonne committed May 23, 2012
1 parent 1276637 commit 879f7db7d3accad37d8e8e182a9dd22d0c3f8ae8
Showing with 2 additions and 2 deletions.
  1. +2 −2 etc/inc/upgrade_config.inc
@@ -575,7 +575,7 @@ function upgrade_038_to_039() {
function upgrade_039_to_040() {
- global $config;
+ global $config, $g;
$config['system']['webgui']['auth_method'] = "session";
$config['system']['webgui']['backing_method'] = "htpasswd";
@@ -2790,7 +2790,7 @@ function upgrade_084_to_085() {
}
function upgrade_085_to_086() {
- global $config;
+ global $config, $g;
/* XXX: Gross hacks in sight */
write_config();

0 comments on commit 879f7db

Please sign in to comment.