*** empty log message ***
diff --git a/classes/export/generate1.php b/classes/export/generate1.php
index cf3a33b..2944c58 100755
--- a/classes/export/generate1.php
+++ b/classes/export/generate1.php
@@ -146,7 +146,7 @@
WHERE
t.language_id = " . $language_row['language_id'] . "
AND f.is_active
- AND v.train_id = " . $train_row['train_id']);
+ AND v.train_id = '" . $train_row['train_id']) . "'";
$plugins = array();
while( ($file_row = mysql_fetch_assoc($file_result)) != null ) {
# strip source folder (bug 221675)