Changed form creation

This commit is contained in:
Torsten Schulz
2024-04-17 08:22:48 +02:00
parent c8475be001
commit 7682671a79

View File

@@ -187,7 +187,7 @@ class Renderer {
}
protected function renderForm(): string {
$form = '<form method="post" action="' . $this->getUrl() . '" enctype="' . $this->encType . '"><table class="form">';
$form = '<form method="post" action="' . str_replace('.php', '', $this->getUrl()) . '" enctype="' . $this->encType . '"><table class="form">';
$label = '';
$input = '';
$error = '';