diff options
| author | Roland Angerer <r.angerer@123people.com> | 2013-06-13 11:24:51 +0200 |
|---|---|---|
| committer | Roland Angerer <r.angerer@123people.com> | 2013-06-13 11:24:51 +0200 |
| commit | 0806d68bac5850f1fdcf08e0373fa9263a593ab7 (patch) | |
| tree | 62b2b06d4a93ab1fae014aa7281298d0b15d26ae | |
| parent | edcbb8c9976faffd9899f16cb4e99a439508d602 (diff) | |
bugfix: list correct profile IDs on login page
| -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'>"; |