aboutsummaryrefslogtreecommitdiff
path: root/install/index.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-27 17:40:35 +0200
committerCamil Staps2016-07-27 17:40:35 +0200
commited16a89cf965c66415b792331fc403d5ecfabaa4 (patch)
tree0619c65d30bd414260619848d7a018ec7c592cd1 /install/index.php
parentPayment: use Model (diff)
User: use Model
Diffstat (limited to 'install/index.php')
-rw-r--r--install/index.php2
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.";
}