Commit bc70cf03 authored by quicksketch's avatar quicksketch

Correcting notice.

parent 176b5844
......@@ -93,7 +93,7 @@ function theme_filefield_item($file, $field) {
*/
function filefield_file_listed($file, $field) {
if (!empty($field['list_field'])) {
return (bool)$file['list'];
return !empty($file['list']);
}
return TRUE;
}
......
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