diff --git a/lam/templates/pdfedit/pdfpage.php b/lam/templates/pdfedit/pdfpage.php index 8fe3a242..8eb1a173 100644 --- a/lam/templates/pdfedit/pdfpage.php +++ b/lam/templates/pdfedit/pdfpage.php @@ -436,7 +436,7 @@ foreach($_SESSION['currentPDFStructure'] as $key => $entry) { if($entry['tag'] == "SECTION" && $entry['type'] == "open") { $name = $entry['attributes']['NAME']; if(preg_match("/^_[a-zA-Z0-9_]+_[a-zA-Z0-9_]+/",$name)) { - $section_headline = translateFieldIDToName(substr($name,1)); + $section_headline = translateFieldIDToName(substr($name,1), $_GET['type']); } else { $section_headline = $name; @@ -454,7 +454,7 @@ foreach($_SESSION['currentPDFStructure'] as $key => $entry) { - + @@ -740,7 +740,6 @@ function translateFieldIDToName($id, $scope) { } } } - } return $id; }