From 22283213a01c4e366cef7badd0ac1fbb5a78013e Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Sun, 11 May 2014 18:23:31 +0200 Subject: [PATCH] fixed default parameter --- src/Intervention/Image/Gd/Commands/InterlaceCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Intervention/Image/Gd/Commands/InterlaceCommand.php b/src/Intervention/Image/Gd/Commands/InterlaceCommand.php index cdb2e35c..fa90dc7b 100644 --- a/src/Intervention/Image/Gd/Commands/InterlaceCommand.php +++ b/src/Intervention/Image/Gd/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); imageinterlace($image->getCore(), $mode);