From 41920ec098715098cd22c46ea63d3d8f37c9fd30 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Sat, 9 Jul 2011 03:02:43 +1000 Subject: [PATCH] fixed duplicate image blocking --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);