Access to system settings moved from global scope to SysPrefs.
[fa-stable.git] / includes / access_levels.inc
index 51c0a4beae97c8366fb87e19ef9d4b795e51bf45..c54f02edddee4906c1330fe0af5e3f489355745c 100644 (file)
@@ -250,7 +250,7 @@ $security_areas =array(
        'SA_GLREP' => array(SS_GL_A|4, _("GL reports and inquiries")),
 );
 
-if (!@$allow_gl_reopen)
+if (!@$SysPrefs->allow_gl_reopen)
        unset($security_areas['SA_GLREOPEN']);
 /*
        This function should be called whenever we want to extend core access level system