Fixed bug #17500: Improve error handling in ExtDirect router (Thanks to Helmut Hummel...
authorSteffen Kamper <info@sk-typo3.de>
Mon, 7 Feb 2011 13:36:10 +0000 (13:36 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Mon, 7 Feb 2011 13:36:10 +0000 (13:36 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10408 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/extjs/class.t3lib_extjs_extdirectrouter.php

index c7bfed2..1372e15 100644 (file)
@@ -70,7 +70,8 @@ class t3lib_extjs_ExtDirectRouter {
                } else {
                        $response[] = array(
                                'type' => 'exception',
-                               'message' => 'Something went wrong with an ExtDirect call!'
+                               'message' => 'Something went wrong with an ExtDirect call!',
+                               'code' => 'router',
                        );
                        $isValidRequest = FALSE;
                }