man kann hunde anlegen yay
All checks were successful
Build and push / Pulling repo on server (push) Successful in 18s

This commit is contained in:
2023-10-22 23:05:24 +02:00
parent 890905b435
commit f7a7c3457b
19 changed files with 314 additions and 83 deletions

View File

@ -53,6 +53,10 @@ class Admin extends Page {
foreach($_REQUEST as $key => $value)
{
if($key == 'email') continue;
if($key=='dogs')
{
$value = json_decode(html_entity_decode($value),true);
}
$u->$key = $value;
}
@ -61,12 +65,12 @@ class Admin extends Page {
}
catch(Exception $e)
{
$this->set('message', $e->getMessage());
$this->set('errorMessage', $e->getMessage());
$this->set('template', '/templates/partials/error.html');
return;
}
$this->set('message', 'Speichern erfolgreich');
$this->set('successMessage', 'Speichern erfolgreich');
$this->set('template', '/templates/partials/success.html');
}