summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
Diffstat (limited to 'library')
-rw-r--r--library/Pbs/Filter.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/library/Pbs/Filter.php b/library/Pbs/Filter.php
index 91e97e9..1759412 100644
--- a/library/Pbs/Filter.php
+++ b/library/Pbs/Filter.php
@@ -208,6 +208,14 @@ class Pbs_Filter{
//TODO: GET GROUP from SESSION
$groupID = $this->membership->getGroupID();
}
+ }
+ else{
+ $bootisoMapper = new Application_Model_BootisoMapper();
+ $bootiso = new Application_Model_BootIso();
+ $bootisoMapper->find($session->getBootisoID(),$bootiso);
+ $groupID = $bootiso->getGroupID();
+ }
+ if(isset($groupID)){
try{
$stmt = $db->query("SELECT * FROM pbs_filterentries WHERE
filtertypeID = ".$filtertypID." AND