bugfix_updateArticle_missingID & updateArticle Leerzeichen im content #28

Merged
niklas.ortmann merged 11 commits from bugfix_updateArticle_missingID into dev 2026-06-10 16:08:09 +02:00
Showing only changes of commit d5fdc9383f - Show all commits
+3 -2
View File
@@ -68,10 +68,11 @@ include_once 'php/controller/showArticle-controller.php';
?>
<input type="text" id="title" name="title"
value="<?php
if (isset($title) && !empty($title)){echo htmlspecialchars($title);
}elseif (isset($_SESSION['old_title']) && !empty($_SESSION['old_title'])){
if (isset($_SESSION['old_title']) && !empty($_SESSION['old_title'])){
echo htmlspecialchars($_SESSION['old_title']);
unset($_SESSION['old_title']);
}elseif (isset($title) && !empty($title)){
echo htmlspecialchars($title);
}
?>"