Merge branch 'devel' of dev.sourcefabric.org:airtime into devel

This commit is contained in:
denise 2012-08-28 16:17:46 -04:00
commit 7ee68c55e0
8 changed files with 95 additions and 9 deletions

View file

@ -102,7 +102,7 @@ class WebstreamController extends Zend_Controller_Action
$hasPermission = true;
}
if ($user->isHost()) {
if (!$hasPermission && $user->isHost()) {
if ($webstream_id != -1) {
$webstream = CcWebstreamQuery::create()->findPK($webstream_id);
//we are updating a playlist. Ensure that if the user is a host/dj, that he has the correct permission.