mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Fix issue processwire/processwire-issues#1311
This commit is contained in:
@@ -682,7 +682,7 @@ class Pageimage extends Pagefile {
|
||||
$result = $this->___size($width, $height, $options);
|
||||
}
|
||||
|
||||
if($result) {
|
||||
if($result && $result !== $this) {
|
||||
$options['_width'] = $width;
|
||||
$options['_height'] = $height;
|
||||
$result->set('sizeOptions', $options);
|
||||
|
Reference in New Issue
Block a user