Fixed filehash when uploading images
This commit is contained in:
parent
583a6a58d9
commit
2179b03980
@ -90,7 +90,7 @@
|
|||||||
$query->bindValue(':height', $post['height'], PDO::PARAM_INT);
|
$query->bindValue(':height', $post['height'], PDO::PARAM_INT);
|
||||||
$query->bindValue(':filesize', $post['filesize'], PDO::PARAM_INT);
|
$query->bindValue(':filesize', $post['filesize'], PDO::PARAM_INT);
|
||||||
$query->bindValue(':filename', $post['filename']);
|
$query->bindValue(':filename', $post['filename']);
|
||||||
$query->bindValue(':filehash', $post['filesize']);
|
$query->bindValue(':filehash', $post['filehash']);
|
||||||
} else {
|
} else {
|
||||||
$query->bindValue(':thumb', null, PDO::PARAM_NULL);
|
$query->bindValue(':thumb', null, PDO::PARAM_NULL);
|
||||||
$query->bindValue(':thumbwidth', null, PDO::PARAM_NULL);
|
$query->bindValue(':thumbwidth', null, PDO::PARAM_NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user