From 7e3197246a0f15382e83a839c158e51ea4bc43a3 Mon Sep 17 00:00:00 2001 From: xisi Date: Sat, 18 Jan 2014 16:08:02 -0500 Subject: [PATCH] fixed error response to not leak info to users --- public/include/classes/tools.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/classes/tools.class.php b/public/include/classes/tools.class.php index 3bcf16e1..0c573369 100644 --- a/public/include/classes/tools.class.php +++ b/public/include/classes/tools.class.php @@ -87,7 +87,7 @@ class Tools extends Base { break; } } else { - $this->setErrorMessage("Got an invalid response using URL ".$this->config['price']['url']." and target ".$this->config['price']['target']); + $this->setErrorMessage("Got an invalid response from ticker API"); return false; } // Catchall, we have no data extractor for this API url