mirror of
https://github.com/processwire/processwire.git
synced 2025-08-18 12:31:17 +02:00
Update Pageimage.php
This commit is contained in:
@@ -777,7 +777,6 @@ class Pageimage extends Pagefile {
|
|||||||
$filenameUnvalidated = '';
|
$filenameUnvalidated = '';
|
||||||
$exists = file_exists($filenameFinal);
|
$exists = file_exists($filenameFinal);
|
||||||
|
|
||||||
|
|
||||||
// create a new resize if it doesn't already exist or forceNew option is set
|
// create a new resize if it doesn't already exist or forceNew option is set
|
||||||
if(!$exists && !file_exists($this->filename())) {
|
if(!$exists && !file_exists($this->filename())) {
|
||||||
// no original file exists to create variation from
|
// no original file exists to create variation from
|
||||||
|
Reference in New Issue
Block a user