Bernd Wurst commited on 2025-10-22 11:21:05
Zeige 2 geänderte Dateien mit 3 Einfügungen und 3 Löschungen.
| ... | ... |
@@ -41,7 +41,7 @@ if ($_SESSION['kartons']) {
|
| 41 | 41 |
$suffix = ''; |
| 42 | 42 |
} |
| 43 | 43 |
|
| 44 |
-if (isset($_REQUEST['sonstiges'])) {
|
|
| 44 |
+if (isset($_REQUEST['sonstiges']) || (isset($_SESSION['sonstiges']) && $_SESSION['sonstiges'] != '')) {
|
|
| 45 | 45 |
$content .= ' |
| 46 | 46 |
<form class="form" action="save.php" method="post"> |
| 47 | 47 |
<input type="hidden" name="form" value="auftrag"> |
| ... | ... |
@@ -50,7 +50,7 @@ if (isset($_REQUEST['sonstiges'])) {
|
| 50 | 50 |
<div class="form-group form-group-lg"> |
| 51 | 51 |
<label for="sonstiges">Beschreiben Sie bitte hier Ihren Wunsch:</label> |
| 52 | 52 |
<div class="row justify-content-center"> |
| 53 |
- <div class="col-sm-10 mb-2"><textarea class="form-control" name="sonstiges" id="sonstiges" placeholder="Ihr Wunsch"></textarea></div> |
|
| 53 |
+ <div class="col-sm-10 mb-2"><textarea class="form-control" name="sonstiges" id="sonstiges" placeholder="Ihr Wunsch">'.($_SESSION['sonstiges'] ?? '').'</textarea></div> |
|
| 54 | 54 |
</div> |
| 55 | 55 |
</div> |
| 56 | 56 |
|
| 57 | 57 |