Commit 91589e52aca74c673d8b8b1e4ebb3bd8fd378a97
1 parent
e4e9e0f6
KTS-2221
"The folder_subscriptions table does not have an "is_tree" field." Fixed. Fixed SQL query. Thanks, Hilário! KTS-2222 "Folder subscriptions dont show up in internal RSS" Fixed. Fixed SQL query. Thanks, Hilário! Committed By: Kevin Fourie Reviewed By: Jalaloedien Abrahams git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7009 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
2 deletions
plugins/rssplugin/KTrss.inc.php
| ... | ... | @@ -93,9 +93,9 @@ class KTrss{ |
| 93 | 93 | |
| 94 | 94 | // Get list of folder subscriptions |
| 95 | 95 | function getFolderList($iUserId){ |
| 96 | - $sQuery = "SELECT folder_id as id, is_tree as tree FROM folder_subscriptions WHERE user_id = ?"; | |
| 96 | + $sQuery = "SELECT folder_id as id FROM folder_subscriptions WHERE user_id = ?"; | |
| 97 | 97 | $aParams = array($iUserId); |
| 98 | - $aFolderList = DBUtil::getResultArray(array($sQuery, $aParams)); | |
| 98 | + $aFolderList = DBUtil::getResultArrayKey(array($sQuery, $aParams), 'id'); | |
| 99 | 99 | |
| 100 | 100 | if (PEAR::isError($aFolderList)) { |
| 101 | 101 | // XXX: log error | ... | ... |