]> git.mxchange.org Git - core.git/commitdiff
Fix for 'undefined variable cacheInstance', should be a field
authorRoland Häder <roland@mxchange.org>
Sun, 13 Jun 2010 20:51:00 +0000 (20:51 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 13 Jun 2010 20:51:00 +0000 (20:51 +0000)
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);