diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-01-01 21:46:50 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-01-01 21:46:50 +1100 |
| commit | 2179b03980fbb21f5f0723367438fecff1324acb (patch) | |
| tree | 4b8f0d75b6bd751a79e32c4425853a7586006238 /inc/functions.php | |
| parent | 583a6a58d99504177b3c27e698a9644bdba0cf9d (diff) | |
Fixed filehash when uploading images
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 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); |
