Skip to content

Commit

Permalink
Update sections_save.php
Browse files Browse the repository at this point in the history
MANAGE_SECTIONS is now true/false instead of enabled/disabled
  • Loading branch information
instantflorian authored Jun 20, 2017
1 parent 7334d2d commit d8103ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wbce/admin/pages/sections_save.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
require('../../config.php');

// Make sure people are allowed to access this page
if(MANAGE_SECTIONS != 'enabled') {
if(MANAGE_SECTIONS != 'true') {
header('Location: '.ADMIN_URL.'/pages/index.php');
exit(0);
}
Expand Down

0 comments on commit d8103ca

Please sign in to comment.