Index: branches/5.2.x/core/units/helpers/language_import_helper.php =================================================================== diff -u -N -r13840 -r14092 --- branches/5.2.x/core/units/helpers/language_import_helper.php (.../language_import_helper.php) (revision 13840) +++ branches/5.2.x/core/units/helpers/language_import_helper.php (.../language_import_helper.php) (revision 14092) @@ -1,6 +1,6 @@ Application->getUnitOption('emailevents', 'TableName') . ' - WHERE ' . substr($module_sql, 0, -4) . ' AND ' . $limit_where . ' + WHERE `Type` IN (' . implode(',', $phrase_types) . ') AND (' . substr($module_sql, 0, -4) . ') AND ' . $limit_where . ' ORDER BY `Event`, `Type`'; $events = $this->Conn->Query($sql, 'EventId');