From df52366302502bf5ec1adbaacb73186b2ae5cce3 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Sun, 21 May 2017 03:18:18 -1000 Subject: [PATCH] misnamed a variable removed locid validation code --- gw-record.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gw-record.php b/gw-record.php index bf730f3..995e828 100644 --- a/gw-record.php +++ b/gw-record.php @@ -72,7 +72,7 @@ if ($whatdropped == "1"){ echo ''; } echo ''; - echo ' and |code for gold dropped here| gold pieces. FYI, the loclink variable is set to '. $locid . ' '; + echo ' and |code for gold dropped here| gold pieces.'; echo ''; echo '

'; } else if ($whatdropped == "2"){ @@ -89,14 +89,14 @@ if ($whatdropped == "1"){ echo ''; } echo ' '; - echo ' and |code for gold dropped here| gold pieces. FYI, the loclink variable is set to '. $locid . ' '; + echo ' and |code for gold dropped here| gold pieces.'; echo ''; echo '

'; } else if ($whatdropped == "3"){ echo '
'; //code for what rune dropped $sqlrune = "SELECT * FROM `listrunes` ORDER BY `runeid` ASC"; - if (!$result = $con->query($sqlrunes)){ + if (!$result = $con->query($sqlrune)){ die ('There was an error running the query [' . $con->error . ']'); } echo 'rune of '; - echo ' and |code for gold dropped here| gold pieces. FYI, the loclink variable is set to '. $locid . ' '; + echo ' and |code for gold dropped here| gold pieces.'; echo ''; echo '

'; } else {