Fixed bug #15690: Change text of exception in t3lib_cache_frontend_stringfrontend
authorSteffen Kamper <info@sk-typo3.de>
Sun, 10 Oct 2010 10:27:06 +0000 (10:27 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Sun, 10 Oct 2010 10:27:06 +0000 (10:27 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9024 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/cache/frontend/class.t3lib_cache_frontend_stringfrontend.php

index bc92a14..528d133 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-10-11  Steffen Kamper  <steffen@typo3.org>
 
 2010-10-11  Steffen Kamper  <steffen@typo3.org>
 
+       * Fixed bug #15690: Change text of exception in t3lib_cache_frontend_stringfrontend
        * Fixed bug #15944: Flashmessage "content_from_pid" misses page title
 
 2010-10-10  Steffen Kamper  <steffen@typo3.org>
        * Fixed bug #15944: Flashmessage "content_from_pid" misses page title
 
 2010-10-10  Steffen Kamper  <steffen@typo3.org>
index 89a3ee6..1149012 100644 (file)
@@ -56,7 +56,7 @@ class t3lib_cache_frontend_StringFrontend extends t3lib_cache_frontend_AbstractF
 
                if (!is_string($string)) {
                        throw new t3lib_cache_exception_InvalidData(
 
                if (!is_string($string)) {
                        throw new t3lib_cache_exception_InvalidData(
-                               'Only strings can be digested by the StringCache. Thanks.',
+                               'Given data is of type "' . gettype($string) . '", but a string is expected for string cache.',
                                1222808333
                        );
                }
                                1222808333
                        );
                }