Index: branches/5.1.x/core/units/helpers/language_import_helper.php =================================================================== diff -u -N -r13781 -r13877 --- branches/5.1.x/core/units/helpers/language_import_helper.php (.../language_import_helper.php) (revision 13781) +++ branches/5.1.x/core/units/helpers/language_import_helper.php (.../language_import_helper.php) (revision 13877) @@ -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');