Fixed undoImage()

This commit is contained in:
Savetheinternet committed 2011-02-19 20:33:00 +11:00
1 parent 9a0d23b560
commit 6c4f3b5faa
1 file changed
+3 -2
+3 -2
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) {