summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index d8c648e69..0bf8f499f 100755
--- a/update.php
+++ b/update.php
@@ -502,7 +502,7 @@
Debug::log("Exporting feeds of user $user to $filename as OPML...");
- $sth = $pdo->prepare("SELECT id FROM ttrss_users WHERE login = ?");
+ $sth = $pdo->prepare("SELECT id FROM ttrss_users WHERE LOWER(login) = LOWER(?)");
$sth->execute([$user]);
if ($res = $sth->fetch()) {