Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5468fa5

Browse files
shdevfabpot
authored andcommitted
Update WorkflowDumpCommand.php
1 parent 1b843f8 commit 5468fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/WorkflowDumpCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
7878
$options = array();
7979
$label = $input->getOption('label');
8080
if (null !== $label && '' !== trim($label)) {
81-
$options = array('graph' => array('label' => $input->getOption('label')));
81+
$options = array('graph' => array('label' => $label));
8282
}
8383
$output->writeln($dumper->dump($workflow->getDefinition(), $marking, $options));
8484
}

0 commit comments

Comments
 (0)