diff options
author | Andrew Dolgov <[email protected]> | 2013-06-13 03:27:19 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-06-13 03:27:19 -0700 |
commit | 29b47c5ce875962a82e7f51ed76415bef50c2e3c (patch) | |
tree | 62b2b06d4a93ab1fae014aa7281298d0b15d26ae | |
parent | edcbb8c9976faffd9899f16cb4e99a439508d602 (diff) | |
parent | 0806d68bac5850f1fdcf08e0373fa9263a593ab7 (diff) |
Merge pull request #221 from rangerer/bugfix_login_profiles
bugfix for profile list dropdown
-rw-r--r-- | classes/handler/public.php | 2 |
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'>"; |