[-TASK] Extbase: Reverted a change introduced in r2245 ("Improved error message for...
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / MVC / Controller / Argument.php
index 4efa608..2c96c4b 100644 (file)
@@ -382,8 +382,6 @@ class Tx_Extbase_MVC_Controller_Argument {
                $object = NULL;
                if (count($result) > 0) {
                        $object = current($result);
-               } else {
-                       throw new Tx_Extbase_Persistence_Exception_UnknownObject('The requested object with the identifier "' . $uid . '" was not found.', 1271856793);
                }
                return $object;
        }