tournaments page added

This commit is contained in:
piapassecker
2023-11-03 12:37:44 +01:00
parent 99f44c9bb2
commit 151e06299d
2 changed files with 15 additions and 33 deletions

View File

@ -31,7 +31,7 @@ class Tournaments extends Page {
}
function index() {
$this->set('template', 'tournaments.html');
}
function manage()
@ -189,7 +189,7 @@ class Tournaments extends Page {
return;
}
//var_dump($_SESSION['user']->data['dogs']);
//var_dump($_SESSION['user']->data['tournaments']);
if(!is_array($_SESSION['user']->data['tournaments']) || !in_array($tid, $_SESSION['user']->data['tournaments'])) // new t!
{