added three lines, woo hoo

This commit is contained in:
John Bintz 2009-09-09 22:42:46 -04:00
parent c4f7d2c5ce
commit 60f5ace20b
1 changed files with 3 additions and 1 deletions

View File

@ -173,7 +173,9 @@ class WhatDidTheySayAdmin {
function handle_update_queue_transcript($info) {
$updated = false;
if (current_user_can('submit_transcriptions')) {
if ($this->what_did_they_say->get_allow_transcripts_for_post($info['post_id'])) {
$queued_transcript = new WDTSTranscriptOptions($info['post_id']));
if ($this->what_did_they_say->get_allow_transcripts_for_post() {
switch ($info['action']) {
case 'submit_queued_transcript':
$result = $this->what_did_they_say->add_queued_transcription_to_post($info['post_id'], $info);