diff --git a/CImage.php b/CImage.php index edcf3bd..a726ce5 100644 --- a/CImage.php +++ b/CImage.php @@ -581,6 +581,8 @@ class CImage public function setSource($src, $dir = null) { if (!isset($src)) { + $this->imageSrc = null; + $this->pathToImage = null; return $this; }