From 831b5b0d0ae2dd6a73f5ccf425a40f8343c2f934 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Thu, 30 May 2013 09:14:32 +0400 Subject: [PATCH] Fix bug in File class with wrong parent:: statement. --- File.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/File.class.php b/File.class.php index d48e66b..a7d4f05 100644 --- a/File.class.php +++ b/File.class.php @@ -39,7 +39,7 @@ abstract class File $this->variants[$size] = new ImageVariant; } else { if (!is_object($this->variants[$size])) { - $this->variants[$size] = parent::getInstance($this->variants[$size]); + $this->variants[$size] = self::getInstance($this->variants[$size]); } } return $this->variants[$size];