From 22ed92de16c7c48e824d5a607183b3adae60fc64 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 9 Dec 2008 06:50:06 +0000 Subject: [PATCH] MDL-17391, change paramters of repository_get_client. --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 5cd606f35a..3569958cca 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -5120,7 +5120,7 @@ function print_textarea($usehtmleditor, $rows, $cols, $width, $height, $name, $v } else { $ctx = $COURSE->context; } - $ret = repository_get_client($ctx, null, true, null, array('image', 'media'), '*'); + $ret = repository_get_client($ctx, array('image', 'video', 'media'), '*'); $str .= $ret['css'].$ret['js']; $suffix = $ret['suffix']; $str .= '
'; -- 2.39.5