summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-01-01 21:46:50 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-01-01 21:46:50 +1100
commit2179b03980fbb21f5f0723367438fecff1324acb (patch)
tree4b8f0d75b6bd751a79e32c4425853a7586006238 /inc
parent583a6a58d99504177b3c27e698a9644bdba0cf9d (diff)
Fixed filehash when uploading images
Diffstat (limited to 'inc')
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 1deb26fb..2ba34827 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -90,7 +90,7 @@
$query->bindValue(':height', $post['height'], PDO::PARAM_INT);
$query->bindValue(':filesize', $post['filesize'], PDO::PARAM_INT);
$query->bindValue(':filename', $post['filename']);
- $query->bindValue(':filehash', $post['filesize']);
+ $query->bindValue(':filehash', $post['filehash']);
} else {
$query->bindValue(':thumb', null, PDO::PARAM_NULL);
$query->bindValue(':thumbwidth', null, PDO::PARAM_NULL);