diff --git a/functions.php b/functions.php index 527f72d..a4afc77 100644 --- a/functions.php +++ b/functions.php @@ -256,7 +256,7 @@ function display_thumbnails($dir, $file_prefix, $title) $thumb_dir = "$dir/thumbnails"; if (! is_dir($thumb_dir)) { - if (! mkdir($thum_dir, 0775)) + if (! mkdir($thumb_dir, 0775)) echo "
Unable to make '$thum_dir' directory. You will need to create it manually.
"; print_r(error_get_last()); }