]> git.wh0rd.org Git - tt-rss.git/commitdiff
bugfix: list correct profile IDs on login page
authorRoland Angerer <r.angerer@123people.com>
Thu, 13 Jun 2013 09:24:51 +0000 (11:24 +0200)
committerRoland Angerer <r.angerer@123people.com>
Thu, 13 Jun 2013 09:24:51 +0000 (11:24 +0200)
classes/handler/public.php

index 12f1624732c097d5fd56f52420d74359eb0e1ca2..f05beafd21f1783f37b804b28182cedee3269b67 100644 (file)
@@ -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 "<select dojoType='dijit.form.Select' style='width : 220px; margin : 0px' name='profile'>";