Merge pull request #4669 from christianbeeznest/Asur-20649-2

Document: Fix export folder in students view - refs BT#20649
pull/4675/head
Nicolas Ducoulombier 3 years ago committed by GitHub
commit a8b6e9f6d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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