Permalink
Browse files

MDL-33400 Lib : fixed character miscount

  • Loading branch information...
1 parent 813f696 commit 38d488cea1bf2e0bc9d7107bc82c0755abe2899b @nebgor nebgor committed Jun 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/questionlib.php
View
2 lib/questionlib.php
@@ -1860,7 +1860,7 @@ function question_pluginfile($course, $context, $component, $filearea, $args, $f
// Okay, we're here so lets check for function without 'mod_'.
if (strpos($module, 'mod_') === 0) {
- $filefunctionold = substr($module, 3) . '_question_pluginfile';
+ $filefunctionold = substr($module, 4) . '_question_pluginfile';
if (function_exists($filefunctionold)) {
$filefunctionold($course, $context, $component, $filearea, $qubaid, $slot,
$args, $forcedownload, $options);

0 comments on commit 38d488c

Please sign in to comment.