Commit 098d829b authored by quicksketch's avatar quicksketch

#996338 by Soren Jones: Trying to get property of non-object in filefield_file_download().

parent 242696dc
......@@ -134,7 +134,7 @@ function filefield_file_download($filepath) {
}
// If the file is not found in the database, we're not responsible for it.
if (!isset($file)) {
if (empty($file)) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment