This commit is contained in:
Stefan Brannfjell 2014-05-03 18:44:25 +02:00
parent 708bdd0c66
commit 9be2d69ec6

View File

@ -14,6 +14,8 @@ if (user_logged_in() === true) {
$characters[] = $value['name']; $characters[] = $value['name'];
} }
} }
} else {
$char_count = 0;
} }
if (empty($_GET['name'])) { if (empty($_GET['name'])) {
@ -144,9 +146,9 @@ if (user_logged_in() === true) {
} }
// calculate visitor access // calculate visitor access
$highest_access = 0;
if (user_logged_in() === true) { if (user_logged_in() === true) {
// Get visitor access in this guild // Get visitor access in this guild
$highest_access = 0;
foreach ($players as $player) { foreach ($players as $player) {
$rid = $player['rank_id']; $rid = $player['rank_id'];