line 108 in filerequest.module:
$result = db_result(db_query("SELECT nid FROM {files} WHERE filepath = '%s'", $config["filename"]));
will not return nid for any file uploaded under private files.
`filepath` field in the {files} table stores absolute paths when file uploads are private and files directory is specified by absolute path.
Other modules (such as image.module) still store relative paths in this field.
Rework is to run 2 queries, one with file's absolute path, and another with relative path as it is done now.
Comments
Comment #1
pomliane commentedThis version of FileRequest is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.