MDL-33400 Lib : fixed character miscount

This commit is contained in:
Aparup Banerjee
2012-06-14 10:56:40 +08:00
parent 813f6964ca
commit 38d488cea1
+1 -1
View File
@@ -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);