Browse Source

Fixed filehash when uploading images

pull/40/head
Savetheinternet 12 years ago
parent
commit
2179b03980
  1. 2
      inc/functions.php

2
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);

Loading…
Cancel
Save