--- customfilter.export.inc.orig 2009-06-30 01:31:50.000000000 +0200 +++ customfilter.export.inc 2009-07-05 17:43:28.000000000 +0200 @@ -90,7 +90,7 @@ '#description' => t('Copy the export text and paste it into the import form.'), '#cols' => 60, '#value' => $export_data, - '#rows' => max(40, preg_match_all('/(\r\n?|\n)/', $export_data)), + '#rows' => max(40, preg_match_all('/(\r\n?|\n)/', $export_data, $matches)), ); } else {