Skip to content

Commit

Permalink
Insight fixes (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm authored Jan 3, 2017
1 parent 12be1a0 commit ca37691
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Command/DownloadCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Translation\Bundle\Model\Configuration;
use Translation\Bundle\Service\StorageService;

/**
Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/TranslationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ private function enableEditInPlace(ContainerBuilder $container, array $config)
{
$name = $config['edit_in_place']['config_name'];

if ($name !== 'default' and !isset($config['configs'][$name])) {
if ($name !== 'default' && !isset($config['configs'][$name])) {
throw new InvalidArgumentException(sprintf('There is no config named "%s".', $name));
}

Expand Down

0 comments on commit ca37691

Please sign in to comment.