man kann hunde anlegen yay
All checks were successful
Build and push / Pulling repo on server (push) Successful in 18s
All checks were successful
Build and push / Pulling repo on server (push) Successful in 18s
This commit is contained in:
@ -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');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user