From f602950ac90ee1ab65897c2e247bb24783a9d5d9 Mon Sep 17 00:00:00 2001 From: Pierre BOQUET Date: Fri, 8 Jul 2016 23:24:42 +0800 Subject: [PATCH] $mode removed it was not defined --- src/GifCreator/GifCreator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GifCreator/GifCreator.php b/src/GifCreator/GifCreator.php index 0726243..2554d61 100644 --- a/src/GifCreator/GifCreator.php +++ b/src/GifCreator/GifCreator.php @@ -119,7 +119,7 @@ public function create($frames = array(), $durations = array(), $loop = 0) } else { // Fail - throw new \Exception($this->version.': '.$this->errors['ERR02'].' ('.$mode.')'); + throw new \Exception($this->version.': '.$this->errors['ERR02']);//.' ('.$mode.')'? } if ($i == 0) { @@ -354,4 +354,4 @@ public function getGif() { return $this->gif; } -} \ No newline at end of file +}