diff --git a/src/GifCreator/GifCreator.php b/src/GifCreator/GifCreator.php index 0726243..763bec0 100644 --- a/src/GifCreator/GifCreator.php +++ b/src/GifCreator/GifCreator.php @@ -334,7 +334,7 @@ public function encodeAsciiToChar($char) */ public function reset() { - $this->frameSources; + $this->frameSources=array(); $this->gif = 'GIF89a'; // the GIF header $this->imgBuilt = false; $this->loop = 0; @@ -354,4 +354,4 @@ public function getGif() { return $this->gif; } -} \ No newline at end of file +}