summaryrefslogtreecommitdiff
path: root/lib/exe/fetch.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-03-05 21:03:18 +0000
committerChristopher Smith <chris@jalakai.co.uk>2014-03-05 21:03:18 +0000
commit793c31f2960e132db444a6640c87d4fe5d8df49e (patch)
tree73e4deea9eac56bacdff18a2524a4538dfa04680 /lib/exe/fetch.php
parentd2fb55d55ccad0166f2443389f52f6c01bb32667 (diff)
downloadrpg-793c31f2960e132db444a6640c87d4fe5d8df49e.tar.gz
rpg-793c31f2960e132db444a6640c87d4fe5d8df49e.tar.bz2
fix misspelled variable name,
Diffstat (limited to 'lib/exe/fetch.php')
-rw-r--r--lib/exe/fetch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php
index 5f82ad0e0..933367e35 100644
--- a/lib/exe/fetch.php
+++ b/lib/exe/fetch.php
@@ -79,7 +79,7 @@ if (defined('SIMPLE_TEST')) {
//handle image resizing/cropping
if((substr($MIME, 0, 5) == 'image') && ($WIDTH || $HEIGHT)) {
- if($HEIGHT && $WDITH) {
+ if($HEIGHT && $WIDTH) {
$data['file'] = $FILE = media_crop_image($data['file'], $EXT, $WIDTH, $HEIGHT);
} else {
$data['file'] = $FILE = media_resize_image($data['file'], $EXT, $WIDTH, $HEIGHT);