Browse Source

fix for issue #14

pull/16/head
mauirixxx 7 years ago
parent
commit
3a57656a35
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      updateaccountstats.php

+ 5
- 1
updateaccountstats.php View File

@@ -5,7 +5,11 @@ if (isset($_SESSION['userid'])) {
if (!isset($_POST['acctitle'])) {
$_POST['acctitle'] = "notselected";
}
if ($_SESSION['prefaccid'] == "0") {
echo 'Please select an account from the menu above to add stats to before continuing';
include_once ('footer.php');
exit();
}
if (isset($_POST['titlepoints'])) {
// include file just updates the database
include_once ('includes/update-titleranks.php');


Loading…
Cancel
Save