diff --git a/main/document/document.inc.php b/main/document/document.inc.php index b4d0021f48..9343400d15 100644 --- a/main/document/document.inc.php +++ b/main/document/document.inc.php @@ -1,4 +1,4 @@ -$val){$escaped_folders[$key] = Database::escape_string($val);} $folder_sql = implode("','",$escaped_folders); $doc_table = Database::get_course_table(TABLE_DOCUMENT); $sql = "SELECT * FROM $doc_table WHERE filetype='folder' AND path IN ('".$folder_sql."')";