From 6f224757807668701a9160add5ecdb0d9bd58c29 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Mon, 12 May 2014 19:17:56 +0200 Subject: [PATCH] interlace command default param --- src/Intervention/Image/Imagick/Commands/InterlaceCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intervention/Image/Imagick/Commands/InterlaceCommand.php b/src/Intervention/Image/Imagick/Commands/InterlaceCommand.php index d9206800..b30ee90b 100644 --- a/src/Intervention/Image/Imagick/Commands/InterlaceCommand.php +++ b/src/Intervention/Image/Imagick/Commands/InterlaceCommand.php @@ -6,7 +6,7 @@ class InterlaceCommand extends \Intervention\Image\Commands\AbstractCommand { public function execute($image) { - $mode = $this->getArgument(0); + $mode = $this->getArgument(0, true); if ($mode) { $mode = \Imagick::INTERLACE_LINE;