mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Setup/Misc
* squash some more php warnings during setup * automaticly sync if required by updates
This commit is contained in:
@@ -230,9 +230,9 @@ SqlGen::register(new class extends SetupScript
|
||||
|
||||
$row['bonusParsed'] = serialize($gains);
|
||||
foreach (array_column($spells, 0) as $idx => $spellId)
|
||||
$row['spell'.$idx+1] = $spellId;
|
||||
$row['spell'.($idx+1)] = $spellId;
|
||||
foreach (array_column($spells, 1) as $idx => $nItems)
|
||||
$row['bonus'.$idx+1] = $nItems;
|
||||
$row['bonus'.($idx+1)] = $nItems;
|
||||
|
||||
|
||||
/**************************/
|
||||
|
||||
Reference in New Issue
Block a user