From fb86861447a8b5cfcddd75922c418a2a1b9d8ee6 Mon Sep 17 00:00:00 2001 From: Kuzirashi Date: Fri, 18 Apr 2014 23:22:12 +0200 Subject: [PATCH] Fixed errors in Marketplace Solved `undefined index[...]` and `invalid argument supplied[...]` errors in Marketplace. --- market.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/market.php b/market.php index b876008..07097d9 100644 --- a/market.php +++ b/market.php @@ -3,7 +3,7 @@ $server = $config['shop']['imageServer']; $imageType = $config['shop']['imageType']; -$compare = getValue($_GET['compare']); +$compare = getValue(@$_GET['compare']); // If you are not comparing any items, present the list. if (!$compare) { @@ -33,7 +33,7 @@ if (!$compare) { Compare " alt="Item Image"> @@ -58,7 +58,7 @@ if (!$compare) { Compare " alt="Item Image">