Skip to content

Commit

Permalink
Correct admin config order
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons committed Apr 9, 2024
1 parent 24e608e commit 44a54b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions www/docs/admin/banner.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
$db = new ParlDB;
$banner = new MySociety\TheyWorkForYou\Model\AnnouncementManagement;

$PAGE->page_start();
$PAGE->stripe_start();

$editorial_option = 'banner';
if (get_http_var('editorial_option')) {
$editorial_option = get_http_var('editorial_option');
Expand All @@ -20,6 +17,9 @@
$this_page = 'admin_announcement';
};

$PAGE->page_start();
$PAGE->stripe_start();

$out = '';
if (get_http_var('action') === 'Save') {
$out = update_banner();
Expand Down
2 changes: 1 addition & 1 deletion www/docs/admin/reporting_stats.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
include_once '../../includes/easyparliament/init.php';
include_once '../../includes/easyparliament/member.php';

$this_page = "reporting_stats";
$this_page = "admin_reportstats";

$PAGE->page_start();
$PAGE->stripe_start();
Expand Down

0 comments on commit 44a54b1

Please sign in to comment.