diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index c58e24d..f6d3c48 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -25,14 +25,14 @@ If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - - Browser [e.g. chrome, safari] - - Version [e.g. 22] + - Browser: [e.g. chrome, safari] + - Version: [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - - Browser [e.g. stock browser, safari] - - Version [e.g. 22] + - Browser: [e.g. stock browser, safari] + - Version: [e.g. 22] **Additional context** Add any other context about the problem here. diff --git a/app/includes/prereqs.php b/app/includes/prereqs.php index ea0a809..aba9fde 100644 --- a/app/includes/prereqs.php +++ b/app/includes/prereqs.php @@ -137,5 +137,5 @@ function get_subscribers($db, $request) { } function isAuthorised($authorised_users, $request) { - if (in_array($_SESSION['uuid'], $authorised_users) || $_SESSION['uuid'] == $request['created_by']) { return true; } else { return false; } -} \ No newline at end of file + if (in_array($authorised_users, $_SESSION['uuid']) || $_SESSION['uuid'] == $request['created_by']) { return true; } else { return false; } +}