diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/AssetsInstallCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/AssetsInstallCommand.php index 71671774fc..b90c810006 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/AssetsInstallCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/AssetsInstallCommand.php @@ -94,7 +94,7 @@ EOT $targetArg = rtrim($input->getArgument('target'), '/'); if (!$targetArg) { - $targetArg = $this->getPublicDirectory($this->getContainer()); + $targetArg = $this->getPublicDirectory($kernel->getContainer()); } if (!is_dir($targetArg)) {