Skip to content
Snippets Groups Projects
Commit 793c31f2 authored by Christopher Smith's avatar Christopher Smith
Browse files

fix misspelled variable name,

parent d2fb55d5
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment