fixed bug when a section was removed
This commit is contained in:
parent
d780b86198
commit
ab1d2684a0
|
@ -674,6 +674,9 @@ foreach($_SESSION['currentPDFStructure'] as $key => $entry) {
|
||||||
if (isset($_GET['edit'])) {
|
if (isset($_GET['edit'])) {
|
||||||
$structureName = $_GET['edit'];
|
$structureName = $_GET['edit'];
|
||||||
}
|
}
|
||||||
|
elseif (isset($_GET['pdfname'])) {
|
||||||
|
$structureName = $_GET['pdfname'];
|
||||||
|
}
|
||||||
else if (isset($_POST['pdfname'])) {
|
else if (isset($_POST['pdfname'])) {
|
||||||
$structureName = $_POST['pdfname'];
|
$structureName = $_POST['pdfname'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue