From 4d86d4e3f210bb24547995823a9bfc645143c464 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 30 Jul 2021 14:15:58 -0400 Subject: [PATCH] Fix issue processwire/processwire-issues#920 --- wire/core/Pageimage.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wire/core/Pageimage.php b/wire/core/Pageimage.php index abf23ab7..e72fbe84 100644 --- a/wire/core/Pageimage.php +++ b/wire/core/Pageimage.php @@ -176,6 +176,8 @@ class Pageimage extends Pagefile { public function __clone() { $this->imageInfo['width'] = 0; $this->imageInfo['height'] = 0; + $this->pageimageDebugInfo = null; + $this->variations = null; parent::__clone(); }