Bug #59587 ยป apc-tags-patch.diff

Florian Schwaiger, 2014-06-15 17:58

View differences:

typo3/sysext/core/Classes/Cache/Backend/ApcBackend.php
274 274
			// Update identifier-to-tag index
275 275
			$existingTags = $this->findTagsByIdentifier($entryIdentifier);
276 276
			if (array_search($entryIdentifier, $existingTags) === FALSE) {
277
				apc_store($this->getIdentifierPrefix() . 'ident_' . $entryIdentifier, array_merge($existingTags, $tags));
277
                $existingTags[] = $tag;
278
				apc_store($this->getIdentifierPrefix() . 'ident_' . $entryIdentifier, $existingTags);
278 279
			}
279 280
		}
280 281
	}
    (1-1/1)