Commit 1452713c5f4249a06c20cad56b270904402806b8
1 parent
f7a7d1ca
fixed subscription count error
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1201 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
1 additions
and
1 deletions
presentation/lookAndFeel/knowledgeTree/subscriptions/subscriptionUI.inc
| ... | ... | @@ -21,7 +21,7 @@ function renderManagePage() { |
| 21 | 21 | // retrieve subscriptions for this user |
| 22 | 22 | $aFolderSubscriptions = SubscriptionManager::retrieveSubscriptions($_SESSION["userID"], SubscriptionConstants::subscriptionType("FolderSubscription")); |
| 23 | 23 | $aDocumentSubscriptions = SubscriptionManager::retrieveSubscriptions($_SESSION["userID"], SubscriptionConstants::subscriptionType("DocumentSubscription")); |
| 24 | - $bNoSubscriptions = ( (count($aFolderSubscriptions) == 0) && (count($aFolderSubscriptions) == 0) ) ? true : false; | |
| 24 | + $bNoSubscriptions = ( (count($aFolderSubscriptions) == 0) && (count($aDocumentSubscriptions) == 0) ) ? true : false; | |
| 25 | 25 | |
| 26 | 26 | $sToRender = "<table>\n"; |
| 27 | 27 | if ($bNoSubscriptions) { | ... | ... |