# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: /Users/dave/Sites/democrats/trunk/sites/all/modules/contrib/filefield_sources
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: filefield_sources.module
--- filefield_sources.module Base (BASE)
+++ filefield_sources.module Locally Modified (Based On LOCAL)
@@ -135,7 +135,7 @@
   $field = content_fields($element['#field_name'], $element['#type_name']);
   $enabled_sources = (array) $field['widget']['filefield_sources'];
   foreach ($sources as $source_name => $source) {
-    if (!$enabled_sources[$source_name]) {
+    if (empty($enabled_sources[$source_name])) {
       unset($sources[$source_name]);
     }
     elseif (isset($source['process'])) {
