From 0806d68bac5850f1fdcf08e0373fa9263a593ab7 Mon Sep 17 00:00:00 2001 From: Roland Angerer Date: Thu, 13 Jun 2013 11:24:51 +0200 Subject: [PATCH] bugfix: list correct profile IDs on login page --- classes/handler/public.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/handler/public.php b/classes/handler/public.php index 12f16247..f05beafd 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -237,7 +237,7 @@ class Handler_Public extends Handler { function getProfiles() { $login = $this->dbh->escape_string($_REQUEST["login"]); - $result = $this->dbh->query("SELECT * FROM ttrss_settings_profiles,ttrss_users + $result = $this->dbh->query("SELECT ttrss_settings_profiles.* FROM ttrss_settings_profiles,ttrss_users WHERE ttrss_users.id = ttrss_settings_profiles.owner_uid AND login = '$login' ORDER BY title"); print "