From 72426b7554f675e06de866400c9403d9b8946e58 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Fri, 28 Dec 2007 15:57:43 +0000 Subject: [PATCH] fixed escape sequences --- lam/lib/pdf.inc | 2 +- lam/templates/pdfedit/pdfpage.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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) {