diff options
| author | Simon | 2011-03-21 14:07:06 +0100 |
|---|---|---|
| committer | Simon | 2011-03-21 14:07:06 +0100 |
| commit | 15437db2980b0ab7782fe1dab261aa75b6b0b410 (patch) | |
| tree | ba626719c49ae732127ada0f44ec2c22c253d3c7 /library/Pbs/Filter.php | |
| parent | merge (diff) | |
| download | pbs2-15437db2980b0ab7782fe1dab261aa75b6b0b410.tar.gz pbs2-15437db2980b0ab7782fe1dab261aa75b6b0b410.tar.xz pbs2-15437db2980b0ab7782fe1dab261aa75b6b0b410.zip | |
Filter angepasst, wenn keine Mitgliedschaft besteht
fbgui als beispiel mit bootmenu ausgestattet
Diffstat (limited to 'library/Pbs/Filter.php')
| -rw-r--r-- | library/Pbs/Filter.php | 8 |
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 |
