From ed16a89cf965c66415b792331fc403d5ecfabaa4 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 17:40:35 +0200 Subject: User: use Model --- install/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') 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."; } -- cgit v1.2.3