Document: Fix export folder in students view - refs BT#20649

pull/4669/head
Christian 3 years ago
parent 1e0231f5cf
commit b11c050ab2
  1. 2
      main/document/downloadfolder.inc.php

@ -275,7 +275,7 @@ if (api_is_allowed_to_edit()) {
// If we get invisible folders, we have to filter out these results from all visible files we found // If we get invisible folders, we have to filter out these results from all visible files we found
if (Database::num_rows($query2) > 0) { if (Database::num_rows($query2) > 0) {
$files = []; //$files = [];
// Add item to an array // Add item to an array
while ($invisible_folders = Database::fetch_assoc($query2)) { while ($invisible_folders = Database::fetch_assoc($query2)) {
//3rd: Get all files that are in the found invisible folder (these are "invisible" too) //3rd: Get all files that are in the found invisible folder (these are "invisible" too)

Loading…
Cancel
Save