Permalink
Browse files

MDL-33467 fixed variable name conflict

  • Loading branch information...
1 parent 4db0616 commit 2aad62e93c07f49feafa28a765d57672fe86e162 @marinaglancy marinaglancy committed with timhunt Jun 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 question/previewlib.php
View
4 question/previewlib.php
@@ -228,7 +228,7 @@ public function get_url_params() {
* @return bool false if file not found, does not return if found - justsend the file
*/
function question_preview_question_pluginfile($course, $context, $component,
- $filearea, $qubaid, $slot, $args, $forcedownload, $options) {
+ $filearea, $qubaid, $slot, $args, $forcedownload, $fileoptions) {
global $USER, $DB, $CFG;
$quba = question_engine::load_questions_usage_by_activity($qubaid);
@@ -256,7 +256,7 @@ function question_preview_question_pluginfile($course, $context, $component,
send_file_not_found();
}
- send_stored_file($file, 0, 0, $forcedownload, $options);
+ send_stored_file($file, 0, 0, $forcedownload, $fileoptions);
}
/**

0 comments on commit 2aad62e

Please sign in to comment.