"MDL-15405, fixed filearea parameter in filemanager"

This commit is contained in:
Dongsheng Cai
2010-03-19 05:00:11 +00:00
parent 08a22be6af
commit f6e315fee6
+1 -1
View File
@@ -2747,7 +2747,7 @@ function print_filemanager($options, $return = false) {
$client_id = $options->client_id;
$itemid = $options->itemid;
$filearea = $options->filearea ? $options->filearea : 'user_draft';
$filearea = !empty($options->filearea) ? $options->filearea : 'user_draft';
$html = '';