From 5dae780ad5a596f93c5fcf338ca56c336a7eb480 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 9 Oct 2012 19:46:32 +0000 Subject: [PATCH] Now the isset() command is looking for direct match in 'cache' array --- inc/mysql-manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index ce649cdd36..b4b635d87b 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -897,7 +897,7 @@ function getPaymentData ($paymentsId, $lookFor = 'price') { $data[$lookFor] = NULL; // Is there cache? - if (isset($GLOBALS['cache_array']['payments'][$paymentsId]['id'])) { + if (isset($GLOBALS['cache_array']['payments'][$lookFor][$paymentsId])) { // Use it if found to save SQL queries $data[$lookFor] = $GLOBALS['cache_array']['payments'][$lookFor][$paymentsId]; -- 2.39.5