aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/filestore.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/engine/lib/filestore.php b/engine/lib/filestore.php
index a5d381fbc..a649bd303 100644
--- a/engine/lib/filestore.php
+++ b/engine/lib/filestore.php
@@ -511,7 +511,7 @@
$width = $imgsizearray[0];
$height = $imgsizearray[1];
$newwidth = $width;
- $newhight = $height;
+ $newheight = $height;
if ($width > $maxwidth) {
$newwidth = $maxwidth;
@@ -547,7 +547,6 @@
}
}
- return false;
}