From b17bee4fbd2d39a603218f2959bb0389e7828e6a Mon Sep 17 00:00:00 2001 From: PaulM Date: Tue, 15 Oct 2013 11:11:53 +0200 Subject: [PATCH] Fix configuration for storage service creation --- DependencyInjection/OneupUploaderExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DependencyInjection/OneupUploaderExtension.php b/DependencyInjection/OneupUploaderExtension.php index c017bdcb..f6720a6a 100644 --- a/DependencyInjection/OneupUploaderExtension.php +++ b/DependencyInjection/OneupUploaderExtension.php @@ -169,7 +169,7 @@ protected function createStorageService(&$config, $key, $orphanage = false) // if a service is given, return a reference to this service // this allows a user to overwrite the storage layer if needed if (!is_null($config['service'])) { - $storageService = new Reference($config['storage']['service']); + $storageService = new Reference($config['service']); } else { // no service was given, so we create one $storageName = sprintf('oneup_uploader.storage.%s', $key);