Fixing spells some more

This commit is contained in:
Antonis Farangitakis
2016-12-29 18:00:10 +02:00
committed by Antz
parent a0ed581e6c
commit f79e902477
2 changed files with 8 additions and 11 deletions
+2 -1
View File
@@ -835,7 +835,8 @@ function allspellsinfo2(&$row, $level=0) {
// Тултип спелла
if ($level > 0) {
$allspells[$num]['name'] = $row['spellname'];
$spellNameKey = 'spellname' . '_loc' . $_SESSION['locale'];
$allspells[$num]['name'] = $row[$spellNameKey] ;
$allspells[$num]['info'] = render_spell_tooltip($row);
}