umgehen?
Build and push / Pulling repo on server (push) Successful in 3s Details

This commit is contained in:
Chris 2023-10-30 23:51:51 +01:00
parent f54717c798
commit cca9797f4e
2 changed files with 2 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class Model {
}
if ($required && strlen($value) == 0) {
throw new Exception($this->dbTable . "." . $key . " is required but is set to '$value'");
throw new Exception($this->dbTable . "." . $key . " is required");
}
if ($value == null)
continue;

View File

@ -14,6 +14,7 @@ class Profile extends Page {
{
$error = false;
$_SESSION['user']->load();
$_SESSION['user']->data['firstname'] = trim($_REQUEST['firstname']);
$_SESSION['user']->data['lastname'] = trim($_REQUEST['lastname']);
//$_SESSION['user']->data['email'] = $_REQUEST['email'];