From d9c2628b58d25c10d495ff1dd668a628646cd238 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Tue, 11 Nov 2008 18:52:10 +0000 Subject: [PATCH] MDL-16861 portfolio/export make sure to zip up files including the path info --- lib/portfolio/exporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/portfolio/exporter.php b/lib/portfolio/exporter.php index 6f0c017580..3938a8e25e 100644 --- a/lib/portfolio/exporter.php +++ b/lib/portfolio/exporter.php @@ -755,7 +755,7 @@ class portfolio_exporter { } $returnfiles = array(); foreach ($files as $f) { - $returnfiles[$f->get_filename()] = $f; + $returnfiles[$f->get_filepath() . '/' . $f->get_filename()] = $f; } return $returnfiles; } -- 2.39.5