diff --git a/gw-insert.php b/gw-insert.php
index c490fb6..88f4402 100644
--- a/gw-insert.php
+++ b/gw-insert.php
@@ -40,7 +40,8 @@ if ($droptype == 1){
}
} else if ($droptype == 4){
$itname = mysqli_real_escape_string($con, $_POST['itemname']);
- $sqlnothing = "INSERT INTO `history` (historydate, userid, charnameid, locationid, goldrec, itemname) VALUES ('$treasdate', $uid, $toonid, $locid, $gold, '$itname')";
+ $itnothing = mysqli_real_escape_string($con, $_POST['itemtype']);
+ $sqlnothing = "INSERT INTO `history` (historydate, userid, charnameid, locationid, goldrec, itemtype, itemname) VALUES ('$treasdate', $uid, $toonid, $locid, $gold, $itnothing, '$itname')";
if (!$result = $con->query($sqlnothing)){
die ('There was an error running the query [' . $con->error . ']');
}
diff --git a/gw-record.php b/gw-record.php
index 5dd7b7f..aef3d67 100644
--- a/gw-record.php
+++ b/gw-record.php
@@ -126,7 +126,7 @@ if ($whatdropped == "1"){
echo 'on nothing dropped! Maybe try again in 30 days on: ' . date('Y-m-d', strtotime("+30 days"));
echo '';
echo '';
- echo '';
+ echo '';
echo '
';
} else {
echo '