Changes in db scheme: gl_trans.type_no optimized to int, changed lock_stock.reorder_l...
[fa-stable.git] / includes / access_levels.inc
index 815a0b1a72b6b8efc4d0782bac7d068519ab3a09..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
@@ -314,4 +314,3 @@ function get_access_extensions($id) {
        return array($security_areas, $security_sections);
 }
 */
-?>
\ No newline at end of file