mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2024-11-30 12:36:03 +00:00
more d2s parsing, refactor more
This commit is contained in:
parent
5c00d05494
commit
95bcefe2cf
@ -133,7 +133,7 @@ class D2Item {
|
|||||||
$res = PDO_FetchAssoc($sql);
|
$res = PDO_FetchAssoc($sql);
|
||||||
}
|
}
|
||||||
if (empty($res)){
|
if (empty($res)){
|
||||||
$sql = "SELECT code,namestr FROM misc WHERE code='{$this->iData['itemCode']}'";
|
$sql = "SELECT code,namestr FROM weapons WHERE code='{$this->iData['itemCode']}'";
|
||||||
$res = PDO_FetchAssoc($sql);
|
$res = PDO_FetchAssoc($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user