diff options
author | Camil Staps | 2016-07-27 17:40:35 +0200 |
---|---|---|
committer | Camil Staps | 2016-07-27 17:40:35 +0200 |
commit | ed16a89cf965c66415b792331fc403d5ecfabaa4 (patch) | |
tree | 0619c65d30bd414260619848d7a018ec7c592cd1 /install | |
parent | Payment: use Model (diff) |
User: use Model
Diffstat (limited to 'install')
-rw-r--r-- | install/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/install/index.php b/install/index.php index 26812c3..dbea375 100644 --- a/install/index.php +++ b/install/index.php @@ -143,7 +143,7 @@ if (isset($_GET['create_user'])) { $password = user::generateRandomPassword(); $user = BusinessAdmin::createUser($_pdo, $username, $password); if ($user !== false) { - echo "Created user '$username' ({$user->getId()}) with password '$password'."; + echo "Created user '$username' ({$user->id}) with password '$password'."; } else { echo "Unknown error while creating the admin user."; } |