From 19460547b2a038cfb53db0c0880d3056152379f1 Mon Sep 17 00:00:00 2001 From: Tom Reijnders Date: Fri, 26 Aug 2022 23:05:55 +0200 Subject: [PATCH] Fix typo --- catalog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog.php b/catalog.php index 738e8053b..9e2c1c7ae 100644 --- a/catalog.php +++ b/catalog.php @@ -176,7 +176,7 @@ function require_auth() { $template_dir = $xerte_toolkits_site->users_file_area_full . $templates[$i]['template_id'] . "-" . $templates[$i]['owner_username'] . "-" . $templates[$i]['template_type'] . "/"; $dataFilename = $template_dir . "data.xml"; $decoder = new XerteProjectDecoder($dataFilename); - $template->data = $decoder->detailedTemplateDecode($templates[$i]['template_id'], false); + $template->data = $decoder->detailedTemplateDecode($templates[$i]['template_id'], $templates[$i]); $tmptemplates[] = $template; } $response->count = count($tmptemplates);