projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6560179
)
Now the isset() command is looking for direct match in 'cache' array
author
Roland Häder
<roland@mxchange.org>
Tue, 9 Oct 2012 19:46:32 +0000
(19:46 +0000)
committer
Roland Häder
<roland@mxchange.org>
Tue, 9 Oct 2012 19:46:32 +0000
(19:46 +0000)
inc/mysql-manager.php
patch
|
blob
|
history
diff --git
a/inc/mysql-manager.php
b/inc/mysql-manager.php
index ce649cdd36ef09f474ece96e26443566451dbc95..b4b635d87b4e2f5a60261114679589cdcf80bc96 100644
(file)
--- 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];