Index: t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php =================================================================== --- t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php (revision 5382) +++ t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php (working copy) @@ -89,15 +89,15 @@ public function get($entryIdentifier) { $cacheEntry = false; - $caheEntries = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( + $cacheEntries = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( 'content', $this->cacheTable, 'identifier = ' . $GLOBALS['TYPO3_DB']->fullQuoteStr($entryIdentifier, $this->cacheTable) . ' ' . 'AND ((crdate + lifetime) >= ' . time() . ' OR lifetime = 0)' ); - if (count($caheEntries) == 1) { - $cacheEntry = $caheEntries[0]['content']; + if (count($cacheEntries) == 1) { + $cacheEntry = $cacheEntries[0]['content']; } return $cacheEntry; @@ -113,14 +113,14 @@ public function has($entryIdentifier) { $hasEntry = false; - $caheEntries = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( + $cacheEntries = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows( 'content', $this->cacheTable, 'identifier = ' . $GLOBALS['TYPO3_DB']->fullQuoteStr($entryIdentifier, $this->cacheTable) . ' ' . 'AND (crdate + lifetime) >= ' . time() ); - if (count($caheEntries) == 1) { + if (count($cacheEntries) == 1) { $hasEntry = true; } @@ -321,4 +321,4 @@ include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php']); } -?> \ No newline at end of file +?>