mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 08:24:24 -05:00
When armo/weap/misc drop down are selected, item display is properly updated, and item is properly saved, so far
This commit is contained in:
@@ -190,11 +190,13 @@ if ($cmd == 'delete') {
|
||||
|
||||
|
||||
if ($cmd == "save") {
|
||||
$_GET['code'] = array_filter($_GET['code']);
|
||||
$_GET['code'] = $_GET['code'][0];
|
||||
unset($_GET['formtype']);
|
||||
unset($_GET['submit']);
|
||||
unset($_GET['item']);
|
||||
unset($_GET['cmd']);
|
||||
|
||||
|
||||
// if ladder or carry1 is 0, set empty field.
|
||||
$_GET['ladder'] = $_GET['ladder'] ?? '';
|
||||
$_GET['carry1'] = $_GET['carry1'] ?? '';
|
||||
|
Reference in New Issue
Block a user