From c921348f36ee38bfa645d0f23afecc415c0eca91 Mon Sep 17 00:00:00 2001 From: martin Date: Mon, 6 Jun 2011 15:15:47 -0400 Subject: [PATCH] cc-2364: past non-recorded shows have "upload to soundcloud" context menu option -fixed --- airtime_mvc/application/controllers/ScheduleController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/airtime_mvc/application/controllers/ScheduleController.php b/airtime_mvc/application/controllers/ScheduleController.php index 3ef84548e..6377f13a2 100644 --- a/airtime_mvc/application/controllers/ScheduleController.php +++ b/airtime_mvc/application/controllers/ScheduleController.php @@ -203,6 +203,7 @@ class ScheduleController extends Zend_Controller_Action if (strtotime($show->getShowEnd()) <= strtotime($today_timestamp) && is_null($show->getSoundCloudFileId()) + && $show->isRecorded() && Application_Model_Preference::GetDoSoundCloudUpload()) { $menu[] = array('action' => array('type' => 'fn', 'callback' => "window['uploadToSoundCloud']($id)"),