Misc/Fixes

* fixed stats when comparing items with scaling random enchantments
 * fixed BOM on compare.php
 * fixed multiple typos and notices
This commit is contained in:
Sarjuuk
2016-01-31 15:36:54 +01:00
parent 2bc85dd109
commit 5abdbe2080
8 changed files with 80 additions and 8 deletions

View File

@@ -631,6 +631,11 @@ class SearchPage extends GenericPage
}
}
foreach ($items->iterate() as $itemId => $__)
if (!empty($data[$itemId]['subitems']))
foreach ($data[$itemId]['subitems'] as &$si)
$si['enchantment'] = implode(', ', $si['enchantment']);
$result = array(
'type' => TYPE_ITEM,
'appendix' => ' (Item)',