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);