mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 10:49:23 +02:00
Fix #144 Admin Skills page now properly fetch vocations on TFS 0.2/3/4. (It previously only worked on TFS 1.0).
This commit is contained in:
parent
574263f29d
commit
a72d292858
@ -90,6 +90,7 @@ if ($name !== false) {
|
||||
$player = mysql_select_single("SELECT `maglevel`, `level`, `vocation` FROM `players` WHERE `id`='$pid' LIMIT 1;");
|
||||
$skills[] = array('value' => $player['maglevel']);
|
||||
$skills[] = array('value' => $player['level']);
|
||||
$skills[] = array('value' => $player['vocation']);
|
||||
} else {
|
||||
$player = mysql_select_single("SELECT `skill_fist`, `skill_club`, `skill_sword`, `skill_axe`, `skill_dist`, `skill_shielding`, `skill_fishing`, `maglevel`, `level`, `vocation` FROM `players` WHERE `id`='$pid' LIMIT 1;");
|
||||
$skills = array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user