Revision: 4577
Author:   solomax666
Date:     Wed Nov 16 07:05:20 2011
Log:      Typo in download URL is fixed
http://code.google.com/p/openmeetings/source/detail?r=4577

Modified:
 /trunk/plugins/moodle_plugin/mod_form.php

=======================================
--- /trunk/plugins/moodle_plugin/mod_form.php   Wed Nov 16 04:45:32 2011
+++ /trunk/plugins/moodle_plugin/mod_form.php   Wed Nov 16 07:05:20 2011
@@ -142,11 +142,11 @@

 if ($mform->no_submit_button_pressed() && $om_login) {
        $type = isset($mform->get_submitted_data()->{'avi'}) ? "avi" :
-                       isset($mform->get_submitted_data()->{'flv'}) ? "flv" : 
"none";
+                       (isset($mform->get_submitted_data()->{'flv'}) ? "flv" : 
"none");
$filename = 'flvRecording_' . $mform->get_submitted_data()->{'room_recording_id'} . '.' . $type;
        header('Content-disposition: attachment; filename=' . $filename);
        header('Content-type: video/' . $type);
- readfile($openmeetings_gateway->getUrl() . 'DownloadHandler?fileName=' . $filename + readfile($openmeetings_gateway->getUrl() . '/DownloadHandler?fileName=' . $filename
                 . '&moduleName=lzRecorderApp&parentPath=&room_id='
                 . '&sid=' . $openmeetings_gateway->session_id);
        exit(0);

--
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to