diff --git a/src/Generic/AbstractModule.php b/src/Generic/AbstractModule.php
index b915dfd2b3152c0435fdd88955bfd578dcf17993..405d5a93a29ad8d31f9c3d795418dfad23baea1a 100644
--- a/src/Generic/AbstractModule.php
+++ b/src/Generic/AbstractModule.php
@@ -621,7 +621,9 @@ abstract class AbstractModule extends \Omeka\Module\AbstractModule
      */
     public function stringToList($string)
     {
-        return array_filter(array_map('trim', explode("\n", $this->fixEndOfLine($string))));
+        return array_filter(array_map('trim', explode("\n", $this->fixEndOfLine($string))), function ($v) {
+            return (bool) strlen($v);
+        });
     }
 
     /**