1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 09:44:28 +01:00

Fixed undoImage()

This commit is contained in:
Savetheinternet 2011-02-19 20:33:00 +11:00
parent d33a87e01d
commit 5cab8e24e0

View File

@ -1144,8 +1144,9 @@
}
function undoImage($post) {
unlink($post['file']);
unlink($post['thumb']);
if($post['has_file'])
@unlink($post['file']);
@unlink($post['thumb']);
}
function createimage($type, $source_pic) {