mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
DB/Structure
* implemented changed from 309a7f7e2a (achievement reward mail localization)
This commit is contained in:
@@ -530,7 +530,7 @@ class Loot
|
||||
|
||||
// achievement part
|
||||
$conditions = array(['itemExtra', $this->entry]);
|
||||
if ($ar = DB::World()->selectCol('SELECT entry FROM achievement_reward WHERE item = ?d{ OR mailTemplate IN (?a)}', $this->entry, $ids ?: DBSIMPLE_SKIP))
|
||||
if ($ar = DB::World()->selectCol('SELECT ID FROM achievement_reward WHERE ItemID = ?d{ OR MailTemplateID IN (?a)}', $this->entry, $ids ?: DBSIMPLE_SKIP))
|
||||
array_push($conditions, ['id', $ar], 'OR');
|
||||
|
||||
$srcObj = new AchievementList($conditions);
|
||||
|
||||
Reference in New Issue
Block a user