Fixed undoImage()
This commit is contained in:
parent
9a0d23b560
commit
6c4f3b5faa
@ -1144,8 +1144,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function undoImage($post) {
|
function undoImage($post) {
|
||||||
unlink($post['file']);
|
if($post['has_file'])
|
||||||
unlink($post['thumb']);
|
@unlink($post['file']);
|
||||||
|
@unlink($post['thumb']);
|
||||||
}
|
}
|
||||||
|
|
||||||
function createimage($type, $source_pic) {
|
function createimage($type, $source_pic) {
|
||||||
|
Loading…
Reference in New Issue
Block a user