summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-07-09 03:02:43 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-07-09 03:02:43 +1000
commit41920ec098715098cd22c46ea63d3d8f37c9fd30 (patch)
tree0659b2cd54c297a920e73f7d9b93dafd9d36e0bb /inc/functions.php
parentd6dcc3491738a4eac9e3afc48cad24d09aa0afc6 (diff)
fixed duplicate image blocking
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 698ad973..7e57f7bd 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -592,7 +592,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['file']);
+ $query->bindValue(':filehash', $post['filehash']);
} else {
$query->bindValue(':thumb', null, PDO::PARAM_NULL);
$query->bindValue(':thumbwidth', null, PDO::PARAM_NULL);