]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/database/class_BaseDatabaseWrapper.php
Fix for 'undefined variable cacheInstance', should be a field
[core.git] / inc / classes / main / database / class_BaseDatabaseWrapper.php
index 494d994b43f685df2fb3514a61b5ab9ad3a2e2ed..a7debada0d6b27942537da9badf56a553c047d60 100644 (file)
@@ -72,7 +72,7 @@ class BaseDatabaseWrapper extends BaseFrameworkSystem {
                // Does this key exists in cache?
                if ($this->cacheInstance->offsetExists($cacheKey)) {
                        // Then use this result
-                       $result = $cacheInstance->offsetGet($cacheKey);
+                       $result = $this->cacheInstance->offsetGet($cacheKey);
                } else {
                        // Now it's time to ask the database layer for this select statement
                        $result = $this->getDatabaseInstance()->doSelectByTableCriteria($this->getTableName(), $criteriaInstance);