Skip to content

Commit

Permalink
insensitive email
Browse files Browse the repository at this point in the history
  • Loading branch information
alikon committed Mar 9, 2019
1 parent c064f12 commit 51d23b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions administrator/components/com_privacy/models/export.php
Expand Up @@ -69,7 +69,7 @@ public function collectDataForExportRequest($id = null)
$db->getQuery(true)
->select('id')
->from($db->quoteName('#__users'))
->where($db->quoteName('email') . ' = ' . $db->quote($table->email)),
->where('LOWER(' . $db->quoteName('email') . ') = LOWER(' . $db->quote($table->email) . ')'),
0,
1
)->loadResult();
Expand Down Expand Up @@ -164,7 +164,7 @@ public function emailDataExport($id = null)
$db->getQuery(true)
->select('id')
->from($db->quoteName('#__users'))
->where($db->quoteName('email') . ' = ' . $db->quote($table->email)),
->where('LOWER(' . $db->quoteName('email') . ') = LOWER(' . $db->quote($table->email) . ')'),
0,
1
)->loadResult();
Expand Down

0 comments on commit 51d23b5

Please sign in to comment.