diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-09 03:02:43 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-09 03:02:43 +1000 |
| commit | 41920ec098715098cd22c46ea63d3d8f37c9fd30 (patch) | |
| tree | 0659b2cd54c297a920e73f7d9b93dafd9d36e0bb /inc/functions.php | |
| parent | d6dcc3491738a4eac9e3afc48cad24d09aa0afc6 (diff) | |
fixed duplicate image blocking
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 2 |
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); |
