From b551790e465224b4d26f74bc5fc5d12b51a77557 Mon Sep 17 00:00:00 2001 From: michael pereira Date: Mon, 18 Apr 2011 02:33:04 +0200 Subject: Public Level -1 (nicht freigeschaltet) bei Bootiso und Bootos --- application/modules/user/controllers/BootisoController.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application/modules/user/controllers/BootisoController.php') diff --git a/application/modules/user/controllers/BootisoController.php b/application/modules/user/controllers/BootisoController.php index f0770e1..8fe750d 100644 --- a/application/modules/user/controllers/BootisoController.php +++ b/application/modules/user/controllers/BootisoController.php @@ -73,6 +73,8 @@ class user_BootisoController extends Zend_Controller_Action foreach ($bootiso as $b) if($b->getPublic() - $k >= 0 ) $this->view->bootisolist[] = $b; + elseif($k == 0 && $b->getPublic() == -1 && Pbs_Acl::checkRight('bc')) + $this->view->bootisolist[] = $b; } } -- cgit v1.2.3-55-g7522