Continued:
[core.git] / framework / main / classes / response / image / class_ImageResponse.php
index 13101d9e0faf9f926af30d90518f4292663e5a60..a2fc7a065b5a34ee367f681aeca2c886ea5a9219 100644 (file)
@@ -141,7 +141,7 @@ class ImageResponse extends BaseResponse implements Responseable {
         */
        public function redirectToConfiguredUrl ($configEntry) {
                // Get application instance
-               $applicationInstance = GenericRegistry::getRegistry()->getInstance('app');
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Is the header not yet sent?
                if (headers_sent()) {