fixed bug when a section was removed

This commit is contained in:
Roland Gruber 2010-07-31 18:28:29 +00:00
parent d780b86198
commit ab1d2684a0
1 changed files with 3 additions and 0 deletions

View File

@ -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'];
}