summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRoland Angerer <[email protected]>2013-06-13 11:24:51 +0200
committerRoland Angerer <[email protected]>2013-06-13 11:24:51 +0200
commit0806d68bac5850f1fdcf08e0373fa9263a593ab7 (patch)
tree62b2b06d4a93ab1fae014aa7281298d0b15d26ae /classes
parentedcbb8c9976faffd9899f16cb4e99a439508d602 (diff)
bugfix: list correct profile IDs on login page
Diffstat (limited to 'classes')
-rw-r--r--classes/handler/public.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index 12f162473..f05beafd2 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 "<select dojoType='dijit.form.Select' style='width : 220px; margin : 0px' name='profile'>";