mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update functions_thumbs.php
This commit is contained in:
parent
a84dee60e1
commit
afe99e512b
@ -119,6 +119,7 @@ function create_thumbnail($source, $new_file, $mimetype)
|
|||||||
$target_height = null;
|
$target_height = null;
|
||||||
|
|
||||||
list($new_width, $new_height) = get_img_size_format($width, $height, $target_width, $target_height);
|
list($new_width, $new_height) = get_img_size_format($width, $height, $target_width, $target_height);
|
||||||
|
unset($target_width, $target_height);
|
||||||
|
|
||||||
$tmp_path = $old_file = '';
|
$tmp_path = $old_file = '';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user