From: Roland Angerer Date: Thu, 13 Jun 2013 09:24:51 +0000 (+0200) Subject: bugfix: list correct profile IDs on login page X-Git-Tag: 1.9~111^2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0806d68bac5850f1fdcf08e0373fa9263a593ab7;p=tt-rss.git bugfix: list correct profile IDs on login page --- 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 "