Updated fields to match current database

This commit is contained in:
cabfever
2015-01-29 23:40:08 +00:00
committed by Antz
parent 6cd6c20a26
commit f3df2e3052
7 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -44,7 +44,7 @@ if (!$npc = load_cache(1, intval($id))) {
}
WHERE
c.entry=?
AND ft.factiontemplateID=c.faction_A
AND ft.factiontemplateID=c.FactionAlliance
AND f.factionID=ft.factionID
LIMIT 1
', $npc_cols[1], ($_SESSION['locale'] > 0) ? 1 : DBSIMPLE_SKIP, ($_SESSION['locale'] > 0) ? 1 : DBSIMPLE_SKIP, $id
@@ -79,7 +79,7 @@ if (!$npc = load_cache(1, intval($id))) {
}
$npc['rank'] = $smarty->get_config_vars('rank' . $npc['rank']);
// faction_A = faction_H
// FactionAlliance = FactionHorde
$npc['faction_num'] = $row['factionID'];
$npc['faction'] = $row['faction-name'];
// Деньги