diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-02-08 18:43:37 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-02-08 18:43:37 +0000 |
commit | 10e3d66d87eaff4bdec6c7c743a25d84e4a2640e (patch) | |
tree | 523d64c052972221f3e9a3b41650ffb39aec496c /modules/upload | |
parent | 5f78d143730fa89f0c6126ea005fa77337eaa66a (diff) | |
download | brdo-10e3d66d87eaff4bdec6c7c743a25d84e4a2640e.tar.gz brdo-10e3d66d87eaff4bdec6c7c743a25d84e4a2640e.tar.bz2 |
- Missing apostrophe
Diffstat (limited to 'modules/upload')
-rw-r--r-- | modules/upload/upload.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 5fb50b542..83a6cb401 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -91,7 +91,7 @@ function upload_download() { function upload_file_download($file) { if (user_access('view uploaded files')) { $file = file_create_path($file); - $result = db_query(db_rewrite_sql("SELECT f.nid, f.* from {files} f WHERE filepath = '%s", 'f'), $file); + $result = db_query(db_rewrite_sql("SELECT f.nid, f.* from {files} f WHERE filepath = '%s'", 'f'), $file); if ($file = db_fetch_object($result)) { $name = mime_header_encode($file->filename); // Serve images and text inline for the browser to display rather than download. |