Pārlūkot izejas kodu

fix for issue #14

pull/16/head
mauirixxx pirms 7 gadiem
vecāks
revīzija
3a57656a35
1 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  1. +5
    -1
      updateaccountstats.php

+ 5
- 1
updateaccountstats.php Parādīt failu

@@ -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');


Notiek ielāde…
Atcelt
Saglabāt