From ab1d2684a0640aaba1d3de33367f9bdeaceb736a Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 31 Jul 2010 18:28:29 +0000 Subject: [PATCH] fixed bug when a section was removed --- lam/templates/pdfedit/pdfpage.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lam/templates/pdfedit/pdfpage.php b/lam/templates/pdfedit/pdfpage.php index 9565cd1c..32d47832 100644 --- a/lam/templates/pdfedit/pdfpage.php +++ b/lam/templates/pdfedit/pdfpage.php @@ -674,6 +674,9 @@ foreach($_SESSION['currentPDFStructure'] as $key => $entry) { if (isset($_GET['edit'])) { $structureName = $_GET['edit']; } + elseif (isset($_GET['pdfname'])) { + $structureName = $_GET['pdfname']; + } else if (isset($_POST['pdfname'])) { $structureName = $_POST['pdfname']; }