Permalink
Browse files

make minCacheSize global in cache function

  • Loading branch information...
1 parent 398fc4a commit 1329982774464c551280db6ed2f8e6f620165037 @computermacgyver committed Nov 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 LIB_db_functions.php
View
@@ -144,7 +144,7 @@ function checkCache($key) {
function addToCache($key,$val) {
global $cache;
- global $maxCacheSize;
+ global $maxCacheSize,$minCacheSize;
$size=count($cache);
if ($size>$maxCacheSize) {

0 comments on commit 1329982

Please sign in to comment.