diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-01-01 20:45:18 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-01-01 20:45:18 +1100 |
| commit | 472e12e405df15733ae8364337636b4fa68b2dad (patch) | |
| tree | 9edc6323a309169f292de6a58df5a0a3447b08f6 /inc/functions.php | |
| parent | aa88e0984ef850e17141a4ff9ff291654716f201 (diff) | |
Fixed filename in image posting
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 b8d33f5b..1deb26fb 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -89,7 +89,7 @@ $query->bindValue(':width', $post['width'], PDO::PARAM_INT); $query->bindValue(':height', $post['height'], PDO::PARAM_INT); $query->bindValue(':filesize', $post['filesize'], PDO::PARAM_INT); - $query->bindValue(':filename', $post['filesize']); + $query->bindValue(':filename', $post['filename']); $query->bindValue(':filehash', $post['filesize']); } else { $query->bindValue(':thumb', null, PDO::PARAM_NULL); |
