diff --git a/lam/lib/pdf.inc b/lam/lib/pdf.inc index e88ac77e..581db76c 100644 --- a/lam/lib/pdf.inc +++ b/lam/lib/pdf.inc @@ -95,7 +95,7 @@ function createModulePDF($accounts,$pdf_structure="default") { // We have a new section to start if($entry['tag'] == "SECTION" && $entry['type'] == "open") { $name = $entry['attributes']['NAME']; - if(preg_match("/^\_[a-zA-Z\_]+/",$name)) { + if(preg_match("/^_[a-zA-Z_]+/",$name)) { $section_headline = getSectionHeadline($entries[substr($name,1)][0]); } else { diff --git a/lam/templates/pdfedit/pdfpage.php b/lam/templates/pdfedit/pdfpage.php index 4102a398..1f8b2474 100644 --- a/lam/templates/pdfedit/pdfpage.php +++ b/lam/templates/pdfedit/pdfpage.php @@ -486,7 +486,7 @@ foreach($_SESSION['currentPDFStructure'] as $key => $entry) {